Alterting Formula to remove Blanks

Excel_77

Active Member
Joined
Sep 15, 2016
Messages
306
Office Version
  1. 2019
Platform
  1. Windows
Hi All,

I have the following formula which looks for specific values in cells and if they are found a value is returned and if there is no matching value the cell is left empty, I want to change the empty cells to "n/a" is this possible? So basically all I want to do is put something in at the end so that if an empty cell is returned it's converted to a "n/a".

=IFERROR(LEFT(VLOOKUP(AK2,Source!D:D,1,FALSE),LEN(VLOOKUP(AK2,Source!D:D,1,FALSE))-5),"")&IFERROR(LEFT(VLOOKUP(AL2,Source!D:D,1,FALSE),LEN(VLOOKUP(AL2,Source!D:D,1,FALSE))-5),"")&IFERROR(LEFT(VLOOKUP(AK2,Source!D:D,1,FALSE),LEN(VLOOKUP(AK2,Source!D:D,1,FALSE))-5),"")&IFERROR(LEFT(VLOOKUP(AM2,Source!D:D,1,FALSE),LEN(VLOOKUP(AM2,Source!D:D,1,FALSE))-5),"")
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I'm not quite sure what formula is supposed to do and can probably be written a lot more concise, but just put n/a in the quotes instead of just ""
 
Upvote 0

Forum statistics

Threads
1,216,190
Messages
6,129,421
Members
449,509
Latest member
ajbooisen

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