ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Nesting A Function (https://www.excelbanter.com/excel-worksheet-functions/5798-nesting-function.html)

Dmorri254

Nesting A Function
 
This formula returns a value form a lookup table in my workbook. I would like
the returned value to be in upper case...How do I modify the formula to allow
for this?

=IF(ISERROR(VLOOKUP(H3780,Tivoli,5,FALSE)),"",MID( VLOOKUP(H3780,Tivoli,5,FALSE),1,9))

Thanx



Niek Otten

There are smarter ways, but by far the easiest is:

=UPPER(=IF(ISERROR(VLOOKUP(H3780,Tivoli,5,FALSE)), "",MID(VLOOKUP(H3780,Tivoli,5,FALSE),1,9)))

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Dmorri254" wrote in message
...
This formula returns a value form a lookup table in my workbook. I would
like
the returned value to be in upper case...How do I modify the formula to
allow
for this?

=IF(ISERROR(VLOOKUP(H3780,Tivoli,5,FALSE)),"",MID( VLOOKUP(H3780,Tivoli,5,FALSE),1,9))

Thanx





Jason Morin

=IF(---,"",UPPER(MID(VLOOKUP(---))))

HTH
Jason
Atlanta, GA

-----Original Message-----
This formula returns a value form a lookup table in my

workbook. I would like
the returned value to be in upper case...How do I modify

the formula to allow
for this?

=IF(ISERROR(VLOOKUP(H3780,Tivoli,5,FALSE)),"",MID (VLOOKUP

(H3780,Tivoli,5,FALSE),1,9))

Thanx


.


Dmorri254

Thanx that worked but I had to remove the = before the IF...

Thanx again



"Niek Otten" wrote:

There are smarter ways, but by far the easiest is:

=UPPER(=IF(ISERROR(VLOOKUP(H3780,Tivoli,5,FALSE)), "",MID(VLOOKUP(H3780,Tivoli,5,FALSE),1,9)))

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Dmorri254" wrote in message
...
This formula returns a value form a lookup table in my workbook. I would
like
the returned value to be in upper case...How do I modify the formula to
allow
for this?

=IF(ISERROR(VLOOKUP(H3780,Tivoli,5,FALSE)),"",MID( VLOOKUP(H3780,Tivoli,5,FALSE),1,9))

Thanx







All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com