Formula Help: multiple cells with a < or > then Return statement

ldavis1227

New Member
Joined
May 29, 2014
Messages
19
I want to know if any of the values in (I1, J1, K1) is (< then L1) return "Yes", if (> then L1) return "No".

I1 = .02
J1 = .08
K1 = 1.13
L1 = 0

Of note: each of these cell have a formula behind them also and the value will change.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Welcome to the board. Try:
Code:
=IF(OR(I1 < L1, J1 < L1, K1 < L1), "Yes", "No" )<l1,j1<l1,k1<l1),"yes","no")
Note, you haven't stated the condition for when either cell = L1. My suggestion will return "No" when it does.</l1,j1<l1,k1<l1),"yes","no")
 
Upvote 0
<l1","yes"<"no")<l1"),"yes","no")[ code]
Why can't I post

Code:
if(countif(I1:K1,"<l1")>=1","Yes","No")
</l1")></l1","yes"<"no")<l1"),"yes","no")[>
 
Last edited:
Upvote 0
I spoke too soon. If I change the value of K1 to .13 it returns and answer of "No", which it should say "Yes" because all values are less than L1. Any ideas? BTW, I'm using Excel 10
 
Upvote 0
ldavis: With your example, if L1 is 0 and K1 is 0.13, isn't 0.13 > 0, so the answer is No? What are the values for I1 and J1?

daverm: If you use < and > without spaces, it treats it as HTML tags I think. Try suggesting your COUNTIF answer again but use a space before and after '<'
 
Upvote 0
I feel really stupid right now. I'm using a 24 hour TAT using date and time, so it is calculating minutes and L1 is just using date only. I'll have to figure something else out.

You posted that L1 = 0

0.13 is NOT Less than 0 (nor is 0.02 or 0.08)
 
Upvote 0
some of my TAT's are in hours and some are in days, even if I use the formula provided by JackDance with these new values, it returns an incorrect answer.

I1 = 4.00
J1 = 9.00
K1 = 31.00
L1 = 30

I get "yes" when it should be "No" because of K1 being more than 30.
 
Upvote 0
I want to know if any of the values in (I1, J1, K1) is (< then L1) return "Yes", if (> then L1) return "No".

Oh dear. I think that what has happened is that when you said this way back in post #1, you actually meant "all", not "any".

Big difference!!
 
Upvote 0

Forum statistics

Threads
1,214,858
Messages
6,121,956
Members
449,057
Latest member
FreeCricketId

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