Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Learning the hard way
 
Posts: n/a
Default formula to lookup & sum totals, given a start inv.# & finish inv.#

I have a worksheet containing the total of each invoice & then that gets
divided by two and placed into two seperate columns. I would like to retrieve
the total of a given number of invoices by entering a start inv.# & a finish
inv.# on a different sheet. Can anyone help me?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default formula to lookup & sum totals, given a start inv.# & finish inv.#

Say in Sheet2 start inv# is in A1 and finish inv# in B1;
Say in Sheet1, inv# is in column A and inv. amount in column B

In Sheet2, enter:
=SUMPRODUCT((Sheet1:A1:A1000=A1)*(Sheet1:A1:A1000 <=B1),Sheet1!B1:B1000)

HTH
--
AP

"Learning the hard way" a
écrit dans le message de news:
...
I have a worksheet containing the total of each invoice & then that gets
divided by two and placed into two seperate columns. I would like to
retrieve
the total of a given number of invoices by entering a start inv.# & a
finish
inv.# on a different sheet. Can anyone help me?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Learning the hard way
 
Posts: n/a
Default formula to lookup & sum totals, given a start inv.# & finish i

Thank you very much Ardus Petus, I have been trying to work this out for
myself a long time and always seemed to go round in circles. Works perfectly,
thanks again.
Learning the hard way

"Ardus Petus" wrote:

Say in Sheet2 start inv# is in A1 and finish inv# in B1;
Say in Sheet1, inv# is in column A and inv. amount in column B

In Sheet2, enter:
=SUMPRODUCT((Sheet1:A1:A1000=A1)*(Sheet1:A1:A1000 <=B1),Sheet1!B1:B1000)

HTH
--
AP

"Learning the hard way" a
écrit dans le message de news:
...
I have a worksheet containing the total of each invoice & then that gets
divided by two and placed into two seperate columns. I would like to
retrieve
the total of a given number of invoices by entering a start inv.# & a
finish
inv.# on a different sheet. Can anyone help me?




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
Lookup Formula - but have a formula if it can't find/match a value Stephen Excel Worksheet Functions 11 June 14th 05 05:32 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Lookup with search range start based on position of last blank lin rcmodelr Excel Worksheet Functions 0 November 14th 04 06:32 AM
Inserting Blank Rows Macro? Michael Saffer Excel Worksheet Functions 2 November 9th 04 06:23 PM


All times are GMT +1. The time now is 10:03 PM.

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"