Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BSantos
 
Posts: n/a
Default sumif/if with conditions "HELP"

Okay I think I'm making this harder than it should be. I need help!

I am making a summary sheet with several other sheets that hold data.
columns are the same in all the data sheets just the info is different by
part #, store #, store ranking, and qty. I am trying to make a summary page
that when I put this part # in this cell b1 on the summary sheet it will look
at all the data sheets find the part # and if it has this type ie. "A"
ranking in A12 on the summary sheet as well... then sumif the total in this
column "i4:i291" on each data sheet it finds. I need to have at least 7 Data
sheets. Because I have about 200 part # and 1000 stores.

This might not be the right formula to use. So, any help would be GREAT!

=IF(Data1!$A$4:$A$291=summary!$B$1,SUMIF(Data1!$G$ 4:$G$291,$A12,Data1!$I$4:$I$291)IF(Data2!$A$4:$A$2 91=summary!$B$1,SUMIF(Data2!$G$4:$G$291,$A12,Data2 !$I$4:$I$291))

thanks so much, B.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default sumif/if with conditions "HELP"


Not sure if this is what you are getting at but SUMPRODUCT could work.

=SUMPRODUCT((Data1!A4:A291=summary!B1)*(Data1!G4:G 291=A12)*(Data1!1I4:I291))

and

=SUMPRODUCT((Data2!A4:A291=summary!B1)*(Data2!G4:G 291=A12)*(Data2!1I4:I291))

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=516340

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
WCoaster
 
Posts: n/a
Default sumif/if with conditions "HELP"

I would probably try something like this:

=IF(ISNA(VLOOKUP(summary!$B$1,Data1!$A$4:$A$291,1, FALSE)),IF(ISNA(VLOOKUP(summary!$B$1,Data2!$A$4:$A $291,1,FALSE)),SUMIF(Data2!$G$4:$G$291,$A12,Data1! $I$4:$I$291),SUMIF(Data2!$G$4:$G$291,$A12,Data2!$I $4:$I$291)))

Obviously you would have to nest the IF statements up to 7 times which is
pushing the limits of excel but it should work.

Have you used Pivot Tables yet? A little tricky with multile sheets but it
is possible and much better for manipulating large data sets.



"BSantos" wrote:

Okay I think I'm making this harder than it should be. I need help!

I am making a summary sheet with several other sheets that hold data.
columns are the same in all the data sheets just the info is different by
part #, store #, store ranking, and qty. I am trying to make a summary page
that when I put this part # in this cell b1 on the summary sheet it will look
at all the data sheets find the part # and if it has this type ie. "A"
ranking in A12 on the summary sheet as well... then sumif the total in this
column "i4:i291" on each data sheet it finds. I need to have at least 7 Data
sheets. Because I have about 200 part # and 1000 stores.

This might not be the right formula to use. So, any help would be GREAT!

=IF(Data1!$A$4:$A$291=summary!$B$1,SUMIF(Data1!$G$ 4:$G$291,$A12,Data1!$I$4:$I$291)IF(Data2!$A$4:$A$2 91=summary!$B$1,SUMIF(Data2!$G$4:$G$291,$A12,Data2 !$I$4:$I$291))

thanks so much, B.

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
Count using 2 conditions, one of which being a "less than or equal to" - URGENT SamGB Excel Discussion (Misc queries) 2 February 15th 06 11:35 AM
COUNT using multiple conditions SamGB Excel Discussion (Misc queries) 2 February 9th 06 11:12 PM
Vlookup with 3 or more conditions LondonLion Excel Worksheet Functions 1 December 28th 05 05:02 PM
Counting occurrences of multiple conditions Jvanderv1 Excel Discussion (Misc queries) 2 April 6th 05 02:07 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 08:07 PM


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

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"