Forum Discussion
Excel 2007 Problem with an IF statement . Help
vs
"so if 3.3 turns up in cell A2 3.3 will show in the category 1-5"
Is "1" a category, or "1-5" is a category?
- Stephen JonFeb 24, 2018Copper Contributor
Column A blank B. 1 C. 1-5 D . 5-10 E. 10-20 F. 20-30 G. 30-40 H.
3.5 3.5
1 1
10.7 10.7
2.4 2.4
22.3 22.3
35.6 35.6
Above is how I want it to look .
Column A are random numbers anything from -1 up to 100
As the random numbers are inputted to column A , it automatically appears in the table under the right category and in line with the relevant data input on the same line .
I hope that helps
- Willy LauFeb 24, 2018Iron Contributor
Column C
=IF($A2 = $C$1, $A2, "")
Column D to last Column
=IF(AND($A2>VALUE(LEFT(D$1, FIND("-", D$1)-1)), $A2<=VALUE(MID(D$1, FIND("-", D$1)+1, 255))), $A2, "")- Stephen JonFeb 24, 2018Copper Contributor
Hi Willy thank you I really appreciate the help .
For Column C nothing appears with that code
For the other columns hashtag value! appears . sorry I don't have a hashtag symbol
Regards
Stephen