Hi
In the table below, cells B1 and C1 are 0.2178 AND 0.2199, respectively.
The other cells are
A2=A
A3=B
B2=22%
C2=22%
B3=20%
C3=20%
[TABLE="width: 256"]
<colgroup><col style="width:48pt" width="64" span="4"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64, align: right"]0.2178
[/TD]
[TD="width: 64, align: right"]0.2199[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="class: xl65, align: right"]22%
[/TD]
[TD="class: xl65, align: right"]22%
[/TD]
[TD] A
[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="class: xl65, align: right"]20%
[/TD]
[TD="class: xl65, align: right"]25%[/TD]
[TD] B
[/TD]
[/TR]
</tbody>[/TABLE]
I want to create a formula in column D that looks at the values in column C and B and does this:
i) If the values, when rounded up, in columns B and C are the same, then return a blank in column D (so the letter "A" should NOT be present in column D.
ii) if the value in column C is greater than the value in column B, then return the value in column A -ie the value "B" should be present in column D because 25% is > 20%.
This formula worked for the row with the two 22% values, but it didn't work for the row with 20% and 25%.
=IF(ROUNDUP(B2,0)=ROUNDUP(C2,0),"",IF(C2>B2,A2,""))
Any thoughts would be helpful!
Thanks in advance!
[TABLE="width: 256"]
<colgroup><col style="width:48pt" width="64" span="4"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64, align: right"][/TD]
[TD="width: 64, align: right"][/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl63, align: right"][/TD]
[TD="class: xl63, align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl63, align: right"][/TD]
[TD="class: xl63, align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the table below, cells B1 and C1 are 0.2178 AND 0.2199, respectively.
The other cells are
A2=A
A3=B
B2=22%
C2=22%
B3=20%
C3=20%
[TABLE="width: 256"]
<colgroup><col style="width:48pt" width="64" span="4"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64, align: right"]0.2178
[/TD]
[TD="width: 64, align: right"]0.2199[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="class: xl65, align: right"]22%
[/TD]
[TD="class: xl65, align: right"]22%
[/TD]
[TD] A
[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="class: xl65, align: right"]20%
[/TD]
[TD="class: xl65, align: right"]25%[/TD]
[TD] B
[/TD]
[/TR]
</tbody>[/TABLE]
I want to create a formula in column D that looks at the values in column C and B and does this:
i) If the values, when rounded up, in columns B and C are the same, then return a blank in column D (so the letter "A" should NOT be present in column D.
ii) if the value in column C is greater than the value in column B, then return the value in column A -ie the value "B" should be present in column D because 25% is > 20%.
This formula worked for the row with the two 22% values, but it didn't work for the row with 20% and 25%.
=IF(ROUNDUP(B2,0)=ROUNDUP(C2,0),"",IF(C2>B2,A2,""))
Any thoughts would be helpful!
Thanks in advance!
[TABLE="width: 256"]
<colgroup><col style="width:48pt" width="64" span="4"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64, align: right"][/TD]
[TD="width: 64, align: right"][/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl63, align: right"][/TD]
[TD="class: xl63, align: right"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl63, align: right"][/TD]
[TD="class: xl63, align: right"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]