Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to set up a spreadsheet to sum only certain rows.
I have a list of orders (One on each row), but only some have invoices. I would like to go through the rows and produce two sums: One would be the sum for rows with invoices, the other for rows without invoivces. (The invoice reference is in one column, the ammount is in another column) I am trying to write a module, but am new to VB. Thanks in advance. Andrew |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Andrew
if you can also use a solution without VBa try the SUMIF function =SUMIF(Invoice_Range,Invoice_reference,Amount_Rang e) have a look at http://j-walk.com/ss/excel/tips/tip74.htm and http://j-walk.com/ss/excel/tips/tip52.htm HTH Frank Andrew wrote: I want to set up a spreadsheet to sum only certain rows. I have a list of orders (One on each row), but only some have invoices. I would like to go through the rows and produce two sums: One would be the sum for rows with invoices, the other for rows without invoivces. (The invoice reference is in one column, the ammount is in another column) I am trying to write a module, but am new to VB. Thanks in advance. Andrew |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sum specific column rows based on 2 different column criteria | Excel Worksheet Functions | |||
In VBA, How to Refer to Cell In Specific Column But Selected Rows? | Excel Discussion (Misc queries) | |||
Group & sort rows that have a specific value in column C | Excel Worksheet Functions | |||
Printing only Rows with a value in a specific column | Excel Discussion (Misc queries) | |||
select rows to print where there's data in specific column | Excel Discussion (Misc queries) |