Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Lookup with 2 criteria?

I have a data tab with 3 columns.

A B C
date account $

There are probably 20,000+ rows of data. On a seperate tab I have a
reports tab that totals out the accounts I care about with the date
across the top.

A B C D
1 8/1/09 8/2/09 8/3/09
2account x
3account y


My question is how can I write a formula that totals this out for me
automatically. Currently I sort by date and I have to do a vlookup and
only name a range that has 1 date. I think there is a better way. Help
if we can.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Lookup with 2 criteria?

=SUMPRODUCT((sheet1!$A$2:$A$6=B$1)*(sheet1!$B$2:$B $6=$A2)*(sheet1!$C
$2:$C$6))


On Oct 21, 12:35*am, KrisDHolm wrote:
I have a data tab with 3 columns.

A * * * * * * B * * * * * * *C
date * * * * account * * $

There are probably 20,000+ rows of data. On a seperate tab I have a
reports tab that totals out the accounts I care about with the date
across the top.

A * * * * * * * B * * * * * * * * C * * * * * * * * * *D
1 * * * * * * 8/1/09 * * * * * 8/2/09 * * * * * 8/3/09
2account x
3account y

My question is how can I write a formula that totals this out for me
automatically. Currently I sort by date and I have to do a vlookup and
only name a range that has 1 date. I think there is a better way. Help
if we can.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Lookup with 2 criteria?

Hi,

You could create pivot tables. Drag Date to the column area, Account to
the row area and Amount to the data area.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"KrisDHolm" wrote in message
...
I have a data tab with 3 columns.

A B C
date account $

There are probably 20,000+ rows of data. On a seperate tab I have a
reports tab that totals out the accounts I care about with the date
across the top.

A B C D
1 8/1/09 8/2/09 8/3/09
2account x
3account y


My question is how can I write a formula that totals this out for me
automatically. Currently I sort by date and I have to do a vlookup and
only name a range that has 1 date. I think there is a better way. Help
if we can.


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
Matrix lookup/mulitple criteria lookup MarkFranklin Excel Discussion (Misc queries) 3 March 31st 08 10:15 AM
Lookup on two criteria Kathryn Excel Worksheet Functions 4 September 18th 06 06:24 PM
Lookup using more than one criteria Beccy Excel Worksheet Functions 7 May 16th 06 12:51 PM
Lookup? for more than one criteria Annette Excel Worksheet Functions 2 October 27th 05 06:16 PM
lookup with 2 criteria LoriM Excel Discussion (Misc queries) 5 January 7th 05 05:39 PM


All times are GMT +1. The time now is 04:33 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"