formula to fill in blank on spreadsheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I received a spreadsheet with info in the two columns below to the left. I
need the sheet to look like the two columns on the right however there is >
50k lines and I do not want to fill in manually. is there any formual to
fill it in automatically? thanks

0007220 XYZ CORP 0007220 XYZ CORP
0007220 XYZ CORP
0007220 XYZ CORP
0007220 XYZ CORP
0007270 ABC CORP 0007270 ABC CORP
0007270 ABC CORP
0007270 ABC CORP
0007270 ABC CORP
0007270 ABC CORP
0007270 ABC CORP
0007270 ABC CORP
0007400 LMN CORP 0007400 LMN CORP
0007400 LMN CORP
0007400 LMN CORP
0007400 LMN CORP
 
Hi
try the following formula in C1
=A1 & " " & B1
in C2 enter
=IF(OR(A1<>A2,B1<>B2),A2 & " " & B2,"")
copy this formula down for all rows.
You can simplify the fill down procedure by double-clicking on the
lower right corner of cell C2
 
I don't think I expressed myself correctly. in the example I sent
you....column a and b is what I received.....c is a blank column and column d
and e is what I need it to look like. so when you say to enter the formula
in column c I am lost.
 
i don't think i expressed myself correctly. in the example i noted....column
a and colum b is what I received. column c is blank. column d and column e
is what I need it to look like. so I am lost with the formula in column c.
thanks
 
Ahhh - You just want to get rid of the duplicates I think, yes??

If so then select Cols A & B, do Data / Filter / Advanced Filter / Check 'Copy
to another location and choose D1 and then make sure you tick the bottom of the
box where it says unique records only. Hit OK and you are done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top