Use a formula

mevikasjain

New Member
Joined
Jun 26, 2011
Messages
10
Use a formula in cell shaded in grey to sum and count the values mentioned in the range shaded in yellow based on the criterias mentioned in the cells shaded with blue
Note:Both the conditions i.e. Product and Invoice day should be satisfied before summing or counting the data


PRODUCT--- INVOICE DAY--- GROSS AMOUNT
CC--- 1--- 2468.65
CC--- 2--- 2.99
CC--- 11--- 2.99
CC--- 4--- 2.99
CC--- 7--- 2.99
CC--- 8--- 2.99
CC--- 11--- 2.99
CC--- 10--- 89.95
CC--- 11--- 99.95
SG--- 1--- 29.95
SG--- 2--- 2.99
SG--- 11--- 2.99
SG--- 4--- 105.93
SG--- 1--- 2.99
SG--- 2--- 2.99
SG--- 11--- 2.99
SG--- 4--- 2.99
SG--- 7--- 2.99
WI--- 8--- 2.99
WI--- 11--- 122.39


Product INVOICE DAY
CC 11

Sum Count


pls help me...
Note: --- represents only separation from columns
 
Last edited:

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I cannot see

shaded in grey
range shaded in yellow
shaded with blue ...

Want this???
PRODUCT = CC
INVOICE DAY = 1 , 4, etc...
answer is ?
GROSS AMOUNT???
 
Upvote 0
Use a formula in cell to sum and count the values mentioned in the range (product, inovice day and gross amount) based on the criterias mentioned in the cells shaded with blue
Note:Both the conditions i.e. Product and Invoice day should be satisfied before summing or counting the data


PRODUCT--- INVOICE DAY--- GROSS AMOUNT
CC--- 1--- 2468.65
CC--- 2--- 2.99
CC--- 11--- 2.99
CC--- 4--- 2.99
CC--- 7--- 2.99
CC--- 8--- 2.99
CC--- 11--- 2.99
CC--- 10--- 89.95
CC--- 11--- 99.95
SG--- 1--- 29.95
SG--- 2--- 2.99
SG--- 11--- 2.99
SG--- 4--- 105.93
SG--- 1--- 2.99
SG--- 2--- 2.99
SG--- 11--- 2.99
SG--- 4--- 2.99
SG--- 7--- 2.99
WI--- 8--- 2.99
WI--- 11--- 122.39


Product INVOICE DAY
CC 11


Sum

Count


pls help me...
Note: --- represents only separation from columns
 
Upvote 0
Hi Vikas,

It seems that your question is Vague. It would be better if you could explain it clearly with example instead of using colors.
 
Upvote 0
Can any one Use a formula in cell to sum and count the values mentioned in the range based on the criteria mentioned
Note:Both the conditions i.e. Product and Invoice day should be satisfied before summing or counting the data


PRODUCT--- INVOICE DAY--- GROSS AMOUNT
CC--- 1--- 2468.65
CC--- 2--- 2.99
CC--- 11--- 2.99
CC--- 4--- 2.99
CC--- 7--- 2.99
CC--- 8--- 2.99
CC--- 11--- 2.99
CC--- 10--- 89.95
CC--- 11--- 99.95
SG--- 1--- 29.95
SG--- 2--- 2.99
SG--- 11--- 2.99
SG--- 4--- 105.93
SG--- 1--- 2.99
SG--- 2--- 2.99
SG--- 11--- 2.99
SG--- 4--- 2.99
SG--- 7--- 2.99
WI--- 8--- 2.99
WI--- 11--- 122.39



Product INVOICE DAY
CC 11

Sum Count




Can any one help.. like, if i guess the formula only product cc and invoice day 11 should be sum and Count
in another cell..
 
Upvote 0
Use a formula in cell to sum and count the values mentioned in the range (product, inovice day and gross amount) based on the criterias mentioned in the cells shaded with blue
Note:Both the conditions i.e. Product and Invoice day should be satisfied before summing or counting the data


PRODUCT--- INVOICE DAY--- GROSS AMOUNT
CC--- 1--- 2468.65
CC--- 2--- 2.99
CC--- 11--- 2.99
CC--- 4--- 2.99
CC--- 7--- 2.99
CC--- 8--- 2.99
CC--- 11--- 2.99
CC--- 10--- 89.95
CC--- 11--- 99.95
SG--- 1--- 29.95
SG--- 2--- 2.99
SG--- 11--- 2.99
SG--- 4--- 105.93
SG--- 1--- 2.99
SG--- 2--- 2.99
SG--- 11--- 2.99
SG--- 4--- 2.99
SG--- 7--- 2.99
WI--- 8--- 2.99
WI--- 11--- 122.39

Product INVOICE DAY
CC 11


Sum

Count


pls help me...
Note: --- represents only separation from columns


If your data starts in A1 and the criterias are in row 24, use the below formula for sum =SUMPRODUCT(--(A2:A21=A24),--(B2:B21=B24),C2:C21) and for count =SUMPRODUCT(--(A2:A21=A24),--(B2:B21=B24))

Hope this is what you were looking for.
 
Upvote 0
I'm probably being cynical......but are you sitting an exam of some sort and blagging the answers off of here?

It's just that your requests are phrased like exam paper questions!
 
Upvote 0

Forum statistics

Threads
1,224,617
Messages
6,179,915
Members
452,949
Latest member
beartooth91

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