Formula returns numeric values. Need text as well.

ghostbroker2

Board Regular
Joined
Feb 13, 2017
Messages
58
[FONT=&quot]Greetings!
[/FONT]

[FONT=&quot]I've been using this formula to return the last non zero in column B to cell N3.
[/FONT]

[FONT=&quot]
[/FONT]

[FONT=&quot]=VLOOKUP(9.99999999999999E+307,B:B,1)
[/FONT]

[FONT=&quot]
[/FONT]

[FONT=&quot]Column B has a formula in it to automate the entry of employee numbers. it looks like this;
[/FONT]

[FONT=&quot]
[/FONT]

[FONT=&quot]=IF(C7>0,($B6),"")
[/FONT]

[FONT=&quot]
[/FONT]

[FONT=&quot]However now we are now using temps (temporary employees), and they have letters in their employee number.
[/FONT]

[FONT=&quot]The VLOOKUP formula does not return the value if it is text.
[/FONT]

[FONT=&quot]
[/FONT]

[FONT=&quot]Can anyone suggest an alternative? I need cell N3 to be able to return a numeric or text value.[/FONT]
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,222,790
Messages
6,168,258
Members
452,173
Latest member
heinojt

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