# How to add a Macro or Function to organize by cell data in Excel

I'm attaching a mock example of a report that is given daily.  I'm looking first to see if there's a way to take the information (for this example Cells B, C and D) and input their definition into cells E, F, and G based upon information in Sheet 2.  I'm not sure if there's a Macro than can be coded for this or maybe a function, but the size of the report varies daily and having to manually check each one is time consuming so any help or ideas is appreciated.

Also, on Column A is there a formula to tell it to multiply by .01 so that it shows the correct dollar amounts, normally I just tuck it to the side and paste special but wasn't sure if there's a macro code language for that.
ExampleRecord.xlsx
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

General ManagerCommented:
I have added the requested formulas on attached sheet
ExampleRecord.xlsx
Commented:
You can use vlookup. Look at sample. I don't understand your second question. If you should multiply some data by 0.01, may be better to have separate column for this?
ExampleRecord.xlsx
Commented:
@Technodweeb: Add FALSE as last parameter of VLOOKUP, because default is closest match. In this case you will need exact match
General ManagerCommented:
Yes, thanks... I was just realizing my error. The biggest problem I missed was I have a \$B as the first parameter in the VLOOKUP and I should have left the \$ off when I copied the cells.
General ManagerCommented:
OK, I have added a VBA macro to format the Column A value to proper currency style.
ExampleRecord.xlsm

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author Commented:
Thank you for the help, your solution was exactly what I needed.
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.