OMG - Excel 2003 - SUMIF Function

rgbbrown

New Member
Joined
Aug 7, 2011
Messages
6
Hi folks.... I apologise if this has already been answered but I've tried copying other user's 'received answers' but to no avail and I've used up 3 and half hours of my life so far trying this out - I hope you can help.

Now I've used this fine, and I get the correct answer from it:
=SUMIF('2011'!S2:S400,"RGB",'2011'!U2:U400)

However I want to add a criteria so that the sum of RGB's sales only appear if those in '2011'!C2:C400 say "LIVE - SOLD". If they don't, I don't want them counted. I've tried all sorts, including below, to no avail:

=SUM(IF('2011'!S2:S400="RGB",IF('2011'!C2:C400="LIVE - SOLD",'2011'!$U$2:$U$400)))

I don't get it! Please help.... thank you millions
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Cheers will do but if I'm honest, it just goes *whoosh* over my head haha. I always thought SUMPRODUCT displays the number of cells rather than a value but you managed to make it show the sum total in £ rather than the number of cells... although now I'm going to attempt counting the number of cells.

What I'm trying to do is keep a count of sales as well as value see. The pivot table is far too complicated for me.
 
Upvote 0
To count rather than sum

=SUMPRODUCT(--('2011'!S2:S400="RGB"),--('2011'!C2:C400="LIVE - SOLD"),--('2011'!D2:D400="CL"))
 
Upvote 0

Forum statistics

Threads
1,224,582
Messages
6,179,670
Members
452,936
Latest member
anamikabhargaw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top