H
Harlan
I would like to create a macro to copy information from different worksheets
to one single worksheet, and add the values associated with them together. I
know this is a little vague, but it is pretty hard to explain, though I will
try. I have a workbook that contains many different worksheets, all with
menu cost analysis information in them, each worksheet is for a different
menu category and time of day (apps, entrees, lunch, dinner, etc.) Each
worksheet has the same format. The first column contains an ID number so
that other macros can use the information. The second column contains the
name of the item. The third column is the number of items sold and the sixth
column is the total cost for the item. (The fourth and fifth columns aren't
necessary but can't be deleted. I would like to create a macro that copies
the item names, number sold and total cost to a separate worksheet, but if
there are duplicates of the item on different sheets, to be able to just add
the number sold. Does this make any sense? Is this even possible? The
reasoning is that I would like to create the ideal food cost which is the
total cost of all the items sold times the total number of items sold,
divided by by total food sales, which would be entered separately. Someone
please help.
Thanks
to one single worksheet, and add the values associated with them together. I
know this is a little vague, but it is pretty hard to explain, though I will
try. I have a workbook that contains many different worksheets, all with
menu cost analysis information in them, each worksheet is for a different
menu category and time of day (apps, entrees, lunch, dinner, etc.) Each
worksheet has the same format. The first column contains an ID number so
that other macros can use the information. The second column contains the
name of the item. The third column is the number of items sold and the sixth
column is the total cost for the item. (The fourth and fifth columns aren't
necessary but can't be deleted. I would like to create a macro that copies
the item names, number sold and total cost to a separate worksheet, but if
there are duplicates of the item on different sheets, to be able to just add
the number sold. Does this make any sense? Is this even possible? The
reasoning is that I would like to create the ideal food cost which is the
total cost of all the items sold times the total number of items sold,
divided by by total food sales, which would be entered separately. Someone
please help.
Thanks