please help me to solve this

stggst

New Member
Joined
May 21, 2015
Messages
16
Please assit me

-- removed inline image ---

if highlighted cell contain jan - mar drop down list.i want to write a formula to get total of "s" of selected month.How can i do it using formula (if highlighted select march answer 15 please help me to solve this
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Re: Please assit me

if highlighted cell contain jan - mar drop down list.i want to write a formula to get total of "s" of selected month.How can i do it using formula (if highlighted select march answer 15 please help me to solve this


-- removed inline image ---
 
Upvote 0
Re: Please assit me

try posting a sample of your data, and what you would like to do with it
 
Upvote 0
if highlighted cell contain jan - mar drop down list.i want to write a formula to get total of "s" of selected month.How can i do it using formula (if highlighted cell select a march answer 15) please help me to solve this

January
Product
January
February
March
s
1
2
9
f
4
7
2
s
8
86
c
8
5
7

<tbody>
</tbody>
 
Upvote 0
Re: Please assit me

if highlighted cell contain jan - mar drop down list.i want to write a formula to get total of "s" of selected month.How can i do it using formula (if highlighted cell select a march answer 15) please help me to solve this

January
ProductJanuaryFebruaryMarch
s129
f472
s886
c857

<tbody>
</tbody>
 
Upvote 0
Re: Please assit me

Try:


Excel 2012
ABCDEF
1March
2ProductJanuaryFebruaryMarch15
3s129
4f472
5s886
6c857
Sheet1
Cell Formulas
RangeFormula
F2=SUMIF(A3:A6,"S",INDEX(B3:D6,0,MATCH(A1,B2:D2,0)))
 
Upvote 0
Re: Please assit me

Thanks for your reply.if i want to get YTD(year to date) values can we develop this? (If i select march ans is 34) sum of "s" January to selected month(March/February)
 
Upvote 0
Re: Please assit me

Thanks for your reply.

No problem, nice to hear it helped.


if i want to get YTD(year to date) values can we develop this? (If i select march ans is 34) sum of "s" January to selected month(March/February)

Here are two options, one uses a helper column, the other is standalone.


Excel 2012
ABCDEFGHIJKLMNO
1Apr
2ProductJanFebMarAprMayJunJulAugSepOctNovDecYTD
3s12922222222214< YTD Helper Column
4f47277777777720
5s88688888888830
6c85755555555525
7
844< Using YTD Helper Column
944< Stand alone
Sheet1
Cell Formulas
RangeFormula
N3=SUM(B3:INDEX(B3:M3,MATCH($A$1,B$2:M$2,0)))
N8=SUMIF(A3:A6,"s",N3:N6)
N9=SUMPRODUCT((A3:A6="s")*(B3:INDEX(B3:M6,COUNTA(A3:A6),MATCH(A1,B2:M2,0))))
 
Upvote 0

Forum statistics

Threads
1,214,948
Messages
6,122,420
Members
449,083
Latest member
Ava19

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