Help urgent - excel formula !!

azamsiddiq

New Member
Joined
Apr 19, 2011
Messages
3
Hello,
I need help with the following formula and i would really appreciate if anyone can help ASAP. I have columns from A through AF and this is the formula i want to have :
"IF column T is blank, column U through AE should be blank, If column T says AMF, column K through S should be blank"
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Welcome to the Board

I got here As Soon As Possible being that your thread was Urgent

Couple questions:
1. What Cell is this formula needed in
2. What if Column T has something other then blank or AMF, then what happens
3. Have you looked at the IF and the OR functions in Help
4. And most of all have you looked here:
http://www.mrexcel.com/forum/showthread.php?t=127080

for guidance on your question?

Note;
I'm not a Moderator, but answers to the above will help all to see what exactly you need.
 
Upvote 0
thanks for replying , The formula needs to be in column S, I am using IF OR functions but i can't formulate the formula. thats what i have created but doenst seem to be working:

=IF(T6="",IF(OR(T6="nmi",K6:S6="",),U6:AE6=""))
 
Last edited:
Upvote 0
Hello,
I need help with the following formula and i would really appreciate if anyone can help ASAP. I have columns from A through AF and this is the formula i want to have :
"IF column T is blank, column U through AE should be blank, If column T says AMF, column K through S should be blank"

Welcome to the board. Small peice of advice for future, everyone here volunteers their time, there is no Urgent or ASAP. See point 12 here

So you need to rewrite the formulas in column U through AE so that they read

=IF($T2="", "", Actual Cell Function)

And K to S similarly

=IF($T2="AMF", "", Actual Cell Function)
 
Upvote 0
Hi azamsiddiq

enter this formula into your required cell and copy down. You will need to change the '7' to be your line no

=IF(T7="",IF(sum(U7:AE7)=0,"","fail"),IF(T7="AMF",IF(sum(K7:S7)=0,"","fail"),""))

Nanette
 
Upvote 0
Thanks Nanette but the columns ( U through AE) and ( column K through S ) cant be summed as there is text and numbers in the columns
 
Upvote 0
a bit fiddly, but is working for me
=IF(T7="",IF(OR(U7>0,V7>0,W7>0,X7>0,Y7>0,Z7>0,AA7>0,AB7>0,AC7>0,AD7>0,AE7>0),"fail",""),
IF(T7="AMF",IF(OR(K7>0,L7>0,M7>0,N7>0,O7>0,P7>0,Q7>0,R7>0,S7>0),"fail",""),""))

replace 7 with your row no,
 
Upvote 0
OR(U7>0,V7>0,W7>0,X7>0,Y7>0,Z7>0,AA7>0,AB7>0,AC7>0,AD7>0,AE7>0)
OR(K7>0,L7>0,M7>0,N7>0,O7>0,P7>0,Q7>0,R7>0,S7>0)

The OR functions could be shortened to

=MAX(U7:AE7)>0
=MAX(K7:S7)>0

respectively
 
Upvote 0
Thnx Dave - I was sure there'd be a simpler, concise version, I'll be able to use that!

Regards
Nanette
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,896
Members
452,948
Latest member
Dupuhini

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