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:

Alan
MariaLisaTonyFred
GB65GB65 GB65
GB65GB65GB65GB65
GB61GBA4GB61GB65GBA4
GB61GBA4 GBA4GBA4
GBA6GBA4GBA4 GBA4
GBA6GBA4GBA4GBA4GBA4
GBA4GBA4GBA4GBA4GBA4
GBA4GBA4GBA4GBA4GBA4
GBA6GBA4GBA4GBA4GBA4
GBD2 GBA4

<colgroup><col style="width:48pt" span="5" width="64"> </colgroup><tbody>
</tbody>
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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,214,847
Messages
6,121,911
Members
449,054
Latest member
luca142

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