If , and , ......im struggling

ZAIN1

New Member
Joined
Feb 2, 2015
Messages
1
Hi

I want a formula that does the following:

If Cell C2 = Year 2 ($B$3), then Cell C3 = 60% and then D3 = 40% with E3, F3,G3 all zero

If Cell C2 does not equal B3 , then Cell C3 = 0



so if Cell D2 = $B$3 , then D3 =60% and E3 = 40% and all cells afterwards F3, G3, are zero.....and so on
 
Last edited:

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hello and welcome to the board,

It sounds like you need several formulas not just one. When you say you want D3 =60% and E3 = 40% and all cells afterwards F3, G3, are zero, you will need a formula in each one of those cells to return the results, unless you use vba.

I don't know for sure what you want returned if D2 <> (not equal to) $B$3 but assuming you want "nothing" something like this in D3, E3, F3 and so on:

=IF(D2=B3,60%,"")
=IF(D2=B3,40%,"")
=IF(D2=B3,0,"")

If that is not what you are looking for, let me know.
 
Upvote 0

Forum statistics

Threads
1,214,531
Messages
6,120,073
Members
448,943
Latest member
sharmarick

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