Checking the if the values in the row are the same, provided they are not empty

guhaseelan

New Member
Joined
Feb 3, 2014
Messages
17
Hi,

Thanks in advance for your help.

I have:

[TABLE="width: 320"]
<colgroup><col style="width:48pt" span="5" width="64"> </colgroup><tbody>[TR]
[TD="class: xl948, width: 64"]Alan
[/TD]
[TD="class: xl948, width: 64"]Maria[/TD]
[TD="class: xl948, width: 64"]Lisa[/TD]
[TD="class: xl948, width: 64"]Tony[/TD]
[TD="class: xl948, width: 64"]Fred
[/TD]
[/TR]
[TR]
[TD="class: xl947"] [/TD]
[TD="class: xl947"]GB65[/TD]
[TD="class: xl947"]GB65[/TD]
[TD="class: xl947"] [/TD]
[TD="class: xl947"]GB65[/TD]
[/TR]
[TR]
[TD="class: xl947"] [/TD]
[TD="class: xl947"]GB65[/TD]
[TD="class: xl947"]GB65[/TD]
[TD="class: xl947"]GB65[/TD]
[TD="class: xl947"]GB65[/TD]
[/TR]
[TR]
[TD="class: xl947"]GB61[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GB61[/TD]
[TD="class: xl947"]GB65[/TD]
[TD="class: xl947"]GBA4[/TD]
[/TR]
[TR]
[TD="class: xl947"]GB61[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"] [/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[/TR]
[TR]
[TD="class: xl947"]GBA6[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"] [/TD]
[TD="class: xl947"]GBA4[/TD]
[/TR]
[TR]
[TD="class: xl947"]GBA6[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[/TR]
[TR]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[/TR]
[TR]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[/TR]
[TR]
[TD="class: xl947"]GBA6[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"]GBA4[/TD]
[/TR]
[TR]
[TD="class: xl947"]GBD2[/TD]
[TD="class: xl947"] [/TD]
[TD="class: xl947"] [/TD]
[TD="class: xl947"]GBA4[/TD]
[TD="class: xl947"] [/TD]
[/TR]
</tbody>[/TABLE]
Problem: After the Fred column i need a formula to identify if the values provided by the people are the same. But the problem is that not every one has to provide a value. so when checking if they are the same the blank values are ingnored. As an example the first row of values is the "same", second row of values is "same" but the third row of values is "not the same".

thanks again.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
with your table in A1:E11, try in F2

=IF(COUNTIF(A2:E2,LOOKUP(REPT("Z",255),A2:E2))=COUNTA(A2:E2),"same","not same")
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
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