PowerpointRanger
New Member
- Joined
- Mar 23, 2016
- Messages
- 1
As a small business owner I am bound to my point of sales (POS) software and sometimes its limitations. My POS will generate monthly reports that show each of my business's department sales. For example, JANUARY department sales report will be;
January:
Greeting Cards: $323
Impulse buys: $113
Boxes: $300
Mailbox Rent: $2,000
etc
However if a department has zero sales then that department is left off of the list.
February
Greeting Cards: $112
Boxes: $515
Mailbox rent: $2,500
etc
Therefore when I try and create a workbook on a separate tab that graphs and adds up all the departments I cannot simply say Department Boxes sales = cell B2 every time.
I need a macro that searches the entire first column to find a certain department "boxes" and will then populate the numeric value of sales in that department one column to the right.
looking for something that says "if [boxes] is cell A2 then show value in cell B2"
January:
Greeting Cards: $323
Impulse buys: $113
Boxes: $300
Mailbox Rent: $2,000
etc
However if a department has zero sales then that department is left off of the list.
February
Greeting Cards: $112
Boxes: $515
Mailbox rent: $2,500
etc
Therefore when I try and create a workbook on a separate tab that graphs and adds up all the departments I cannot simply say Department Boxes sales = cell B2 every time.
I need a macro that searches the entire first column to find a certain department "boxes" and will then populate the numeric value of sales in that department one column to the right.
looking for something that says "if [boxes] is cell A2 then show value in cell B2"