Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro for Excel to add up items and delete extra lines?

Run reports in Excel for product sold, like:
456897 Brooms 5
456897 Brooms 2
456897 Brooms 12

567890 Dust Pans 6
567890 Dust Pans 3
567890 Dust Pans 4
567890 Dust Pans 5

But, only need a summary, like:

456897 Brooms 19

567890 Dust Pans 18

Number of entries varies for each product, but identical items are listed in
a group.

Any Macro Gods out there?

I'd really appreciate it!!! Thanks!!! Tricia :)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Macro for Excel to add up items and delete extra lines?

Hi Tricia,

Do you really want to use VBA or will a function suffice?
If so, use
=SUMIF("Your List Range Here","456897 Broom","Your Range to Sum")

HTH

FD

"Fiero84" wrote in message
...
Run reports in Excel for product sold, like:
456897 Brooms 5
456897 Brooms 2
456897 Brooms 12

567890 Dust Pans 6
567890 Dust Pans 3
567890 Dust Pans 4
567890 Dust Pans 5

But, only need a summary, like:

456897 Brooms 19

567890 Dust Pans 18

Number of entries varies for each product, but identical items are listed
in
a group.

Any Macro Gods out there?

I'd really appreciate it!!! Thanks!!! Tricia :)



Reply
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
To add extra line/lines to single cell in Excel spreadsheet Helen New Users to Excel 3 January 13th 08 11:23 PM
Inserting extra lines for comments in an excel sheet LittleAnn Setting up and Configuration of Excel 3 October 31st 07 11:31 PM
Excel v10. Extra lines printing to Text file SMS - John Howard Excel Programming 1 May 5th 05 01:16 PM
Delete extra rows at the end of macro run jmatchus[_2_] Excel Programming 2 January 23rd 04 01:48 PM
Delete extra rows at the end of macro run jmatchus Excel Programming 0 January 21st 04 08:50 PM


All times are GMT +1. The time now is 05:52 AM.

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

About Us

"It's about Microsoft Excel"