Excel IF Question

say4nything

New Member
Joined
Oct 29, 2013
Messages
9
Hello

I'm having trouble with a bit of a tricky IF function on microsoft excel.

I'll attempt to put this into words..

Basically, I have Column A set to multiples of 1.6. So, starting at 0, 1.6, 3.2, 4.8, etc. all the way to several hundred
(years)

In Column B I have multiples of 0.308. So, 0, 0.308, 0.616, etc...

In Column C I have the same multiples of Column B + 8.5446*10^-4, so...0.30885446, 0.61685446, etc... all up to a few hundred (years)

So, what I want to find if any of the values in Column A falls between the Column C-D numbers

Any ideas?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hello

I'm having trouble with a bit of a tricky IF function on microsoft excel.

I'll attempt to put this into words..

Basically, I have Column A set to multiples of 1.6. So, starting at 0, 1.6, 3.2, 4.8, etc. all the way to several hundred
(years)

In Column B I have multiples of 0.308. So, 0, 0.308, 0.616, etc...

In Column C I have the same multiples of Column B + 8.5446*10^-4, so...0.30885446, 0.61685446, etc... all up to a few hundred (years)

So, what I want to find if any of the values in Column A falls between the Column C-D numbers

Any ideas?
Care to share what's in column D?
 
Upvote 0
Maybe something like this?

=AND(A2>B2,A2
<c2)
<c2)
<c2)<c2)
<c2)

assuming you meant between B-C, not C-D)

Edit: Formula is not going through for some reason. End of formula is less than symbol followed by C2)<c2)< c2)
</c2)<></c2)
</c2)<c2)
</c2)
</c2)
 
Upvote 0
Actually, that will always be false. Did you want to know whether each A value falls between any B and the same C?
 
Upvote 0
" Did you want to know whether each A value falls between any B and the same C?"

Yeah, sorry

I want to know if any of the column A values fall between any of the B and corresponding C values...if that makes sense
 
Last edited:
Upvote 0
I'm not sure if there is a faster way, but I believe this accomplishes what you are looking for using a helper column. I'm not getting any TRUEs however.


Excel 2010
ABCD
11.60.308.308+8.5446*10^4-4A2>$B$2:$B$301,<$C$2:$C$301
2000.00085446FALSE
31.60.3080.30885446FALSE
43.20.6160.61685446FALSE
54.80.9240.92485446FALSE
66.41.2321.23285446FALSE
781.541.54085446FALSE
89.61.8481.84885446FALSE
911.22.1562.15685446FALSE
1012.82.4642.46485446FALSE
1114.42.7722.77285446FALSE
12163.083.08085446FALSE
1317.63.3883.38885446FALSE
1419.23.6963.69685446FALSE
Sheet106
Cell Formulas
RangeFormula
C2=B2+8.5446*10^-4
C3=B3+8.5446*10^-4
C4=B4+8.5446*10^-4
C5=B5+8.5446*10^-4
C6=B6+8.5446*10^-4
C7=B7+8.5446*10^-4
C8=B8+8.5446*10^-4
C9=B9+8.5446*10^-4
C10=B10+8.5446*10^-4
C11=B11+8.5446*10^-4
C12=B12+8.5446*10^-4
C13=B13+8.5446*10^-4
C14=B14+8.5446*10^-4
D2{=AND(A2>$B$2:$B$301,A2<$C$2:$C$301)}
D3{=AND(A3>$B$2:$B$301,A3<$C$2:$C$301)}
D4{=AND(A4>$B$2:$B$301,A4<$C$2:$C$301)}
D5{=AND(A5>$B$2:$B$301,A5<$C$2:$C$301)}
D6{=AND(A6>$B$2:$B$301,A6<$C$2:$C$301)}
D7{=AND(A7>$B$2:$B$301,A7<$C$2:$C$301)}
D8{=AND(A8>$B$2:$B$301,A8<$C$2:$C$301)}
D9{=AND(A9>$B$2:$B$301,A9<$C$2:$C$301)}
D10{=AND(A10>$B$2:$B$301,A10<$C$2:$C$301)}
D11{=AND(A11>$B$2:$B$301,A11<$C$2:$C$301)}
D12{=AND(A12>$B$2:$B$301,A12<$C$2:$C$301)}
D13{=AND(A13>$B$2:$B$301,A13<$C$2:$C$301)}
D14{=AND(A14>$B$2:$B$301,A14<$C$2:$C$301)}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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