LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Copying and Adding Values

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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Rows and copying cells Jeff S. New Users to Excel 2 September 5th 08 06:16 PM
Adding numerical values based on multiple values in another column Kazmaniac Excel Worksheet Functions 6 April 4th 07 08:53 PM
adding row from userfrom and copying formulas Chris Excel Programming 4 October 26th 06 05:24 PM
adding and copying rows CatherineN[_4_] Excel Programming 3 July 5th 06 11:20 PM
Copying and skipping (adding) rows [email protected] Excel Programming 1 January 22nd 06 06:35 PM


All times are GMT +1. The time now is 06:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"