Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default Adding LOOKUP to an overwrought SUMPRODUCT function

=SUMPRODUCT((cellsincolumnB=66)*(MONTH(cellsincolu mnA)=1))

for January.

First, fill in the blank cells in column 1.


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Arlen" wrote:

I have data that looks like this on one sheet.

A | B | C

1 Date Trailer Gallons
2 Wed 02/29/07
3 66 1599
4 148 9000
5 Thu 03/01/07
6 66 8008
7 Fri 03/02/07
8 148 21398

On another sheet, using SUMPRODUCT and a static range, I am trying to
separate figures by the months in column A.

How do I add the functionality that says 'When you find Trailer 66 in Column
B, look left and up until you reach a date cell to determine if you're in the
right month?"

Please help if you can.

Arlen

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default Adding LOOKUP to an overwrought SUMPRODUCT function

Wigi,

Unfortunately, I'm dealing with hundreds of these sheets, some over 500
lines long, and the company probably doesn't want me altering the look of
their archives.

I was hoping a LOOK LEFT THEN UP(SUMPRODUCT) function on the new sheet would
serve that purpose.

"Wigi" wrote:

=SUMPRODUCT((cellsincolumnB=66)*(MONTH(cellsincolu mnA)=1))

for January.

First, fill in the blank cells in column 1.


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Arlen" wrote:

I have data that looks like this on one sheet.

A | B | C

1 Date Trailer Gallons
2 Wed 02/29/07
3 66 1599
4 148 9000
5 Thu 03/01/07
6 66 8008
7 Fri 03/02/07
8 148 21398

On another sheet, using SUMPRODUCT and a static range, I am trying to
separate figures by the months in column A.

How do I add the functionality that says 'When you find Trailer 66 in Column
B, look left and up until you reach a date cell to determine if you're in the
right month?"

Please help if you can.

Arlen

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
Adding a counting function within SumProduct PBB Excel Worksheet Functions 2 June 20th 08 03:41 PM
Adding IF function to Lookup??? DaveAsh Excel Worksheet Functions 3 December 28th 07 09:14 AM
Sumproduct multiplying instead of adding denise Excel Worksheet Functions 4 June 15th 07 09:26 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 08:33 PM.

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"