To remove leading zeros use value() function. Also lookup can be used with value function.
Category Archives: Excel
Excel: Search two strings in two columns
You cannot compare it with = sign.
You need to use:
For partial recognition:
=ISNUMBER(SEARCH(B1,A1))
For exact recognition:
=EXACT(C2,F2)
Make sure to trim cell before comparing if you are using EXACT function or otherwise you are going to get bad results.
Excel unmerge and copy data to fill missing
- Unmerge all cells in column A and B
- Select all rows in column A and B from your first row of data to your last row of data.
- Press CTRL+G to open the Go To box
- Click Special
- Choose Blank Cells
- In the formula bar enter = then press the Up arrow. You’ll end up with a formula like =A3. DO NOT PRESS ENTER
- Press CTRL+ENTER and this will populate your formula to all selected cells and simulate a “fill down”.
- Copy-paste as values as required.