问题
I have data in excel like below
columnA columnB columnC
Saidabad S.O (Hyderabad) 500059 500059
Samskruthi S.O 500088
Sanath Nagar Colony S.O 500018 500018
if columnB and columnC are equal then i want the following result then I have output like
columnA columnB columnC columnD
Saidabad S.O (Hyderabad) 500059 500059 Saidabad S.O (Hyderabad)
Sanath Nagar Colony S.O 500018 500018 Sanath Nagar Colony S.O
Is it possible to do this in excel. If it is possible then please give me formula for my query
Thanks in advance
回答1:
put =IF(B2=C2,A2,"-") in D2. Then drag it down as far as needed. Then select the AUTO FILTER option and filter out the "-" from columnD.
来源:https://stackoverflow.com/questions/22435965/how-to-compare-two-columns-in-excel