?
Solved

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

Posted on 2013-12-29
6
Medium Priority
?
438 Views
Last Modified: 2013-12-29
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
0
Comment
Question by:NYANBCNY32
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:Gregory Miller
ID: 39744718
I have added the requested formulas on attached sheet
ExampleRecord.xlsx
0
 
LVL 40

Expert Comment

by:als315
ID: 39744720
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
0
 
LVL 40

Expert Comment

by:als315
ID: 39744728
@Technodweeb: Add FALSE as last parameter of VLOOKUP, because default is closest match. In this case you will need exact match
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:Gregory Miller
ID: 39744731
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.
0
 
LVL 12

Accepted Solution

by:
Gregory Miller earned 2000 total points
ID: 39744752
OK, I have added a VBA macro to format the Column A value to proper currency style.
ExampleRecord.xlsm
0
 

Author Closing Comment

by:NYANBCNY32
ID: 39744979
Thank you for the help, your solution was exactly what I needed.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question