If Statement?

Vanessa

New Member
Hi,

I need some help on adding ;

I have data for 52 weeks which looks like this:

wk1 wk2 w3...........
Act Pl Pl
50 45 45
10 25 10

If the week is Act ( actuals) I need it to look up the val 50. and if the week in Pl ( planned) in need it to look up 25 and 10.

so in the end I need the total in my total cell to be 50+25+10=75.

Any ideas?
Thanks

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi,

=SUMIF(A2:C2,"act",A3:C3)+SUMIF(A2:C2,"pl",A4:C4)

HTH

.. so in the end I need the total in my total cell to be 50+25+10=75.
I assume that you mean 85?

Replies
1
Views
222
Replies
1
Views
87
Replies
0
Views
156
Replies
9
Views
276
Replies
0
Views
121

1,217,347
Messages
6,136,046
Members
449,983
Latest member
mschaef6

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.

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

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