#1
|
|||
|
|||
If statement, may be?
Hi
I have the following in a row. 6.50 6.60 6.70 6.95 In the last cell I want to put in an IF statement to check the entire row whether there is a value of less than 6.50 and return MW, if not then return OK. May be just basic, but cannot get it to work. Any help would be appreciated. Thanks Tony |
#2
|
||||
|
||||
Try = IF(countif(a1:a4,"<="&6.50),"MW","OK")
Adapt the range to your needs
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
Hi Pecoflyer
Thanks for your reply. I did Tried this but it is saying MW to a value of 6.60 -6.60 --MW Any suggestions, thanks |
#4
|
||||
|
||||
Please post a sample sheet. It could be that you have some text looking like numbers
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#5
|
|||
|
|||
Here we go attached herewith, thanks again.
|
#6
|
|||
|
|||
Pecoflyer, I have just figured it out. It is taking 0 as a value below 6.50, and is why the formula was not working. Just deleted the 0 from celss & it started working fine.
Many thanks for your help, regards, Tony |
#7
|
||||
|
||||
You're welcome
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add a statement | sma | Word | 6 | 03-23-2014 10:30 AM |
Need help with If, Then Statement Please | cangelis | Excel | 4 | 01-03-2014 09:10 AM |
Help with IF Statement | limpbizkit | Excel | 4 | 02-24-2011 09:16 PM |
if statement | piper7971 | PowerPoint | 1 | 08-19-2010 07:10 AM |
Help with IF statement! | CPelkey | Word | 1 | 04-12-2010 09:06 AM |