Hello,
I am doing a vlookup on one column's values which includes multiple data types (dates, number, or #N/A for not available.
The one column's results will either be:
1) a date (formatted MM/DD/YYYY)
2) or it will be a number, positive or negative
3) or it will be not available (#N/A). (as it not included on the list)
4) Lastly, if it is blank, no date or no number - the dates are coming in as"1/0/1900". I would rather these just stay blank instead. So blank for #N/A and blank for blanks would be the desired result for both of these.
Tried several ways to go about this...
This resulted in the my #N/As being blank like I wanted and the dates being formatted correctly; however, the number do not show - it is giving me a #VALUE error. Blanks are
=IF(ISNA(VLOOKUP(J166,'IOPT PC'!$G:$X,18,FALSE))," ",TEXT(VLOOKUP([@NEWFPC],'IOPT PC'!$G:$X,18,FALSE),"MM/DD/YYYY"))
This one gave me my dates and my numbers as I needed them formatted. However, my #N/A results are still showing #N/A and I am wanting them to be blank. Blanks are
=(IFERROR(TEXT(VLOOKUP([@NEWFPC],'IOPT PC'!$G:$X,18,FALSE),"MM/DD/YYYY"),(TEXT(VLOOKUP([@NEWFPC],'IOPT PC'!$G:$X,18,FALSE),0))))
This one gave me the dates as dates, the #N/As as blanks, but made my numbers ######## Blanks are
=IFERROR(INDEX('IOPT PC'!$X$1:$X$10000,MATCH(J166,'IOPT PC'!$G$1:$G$10000,0)),"")
I am doing a vlookup on one column's values which includes multiple data types (dates, number, or #N/A for not available.
The one column's results will either be:
1) a date (formatted MM/DD/YYYY)
2) or it will be a number, positive or negative
3) or it will be not available (#N/A). (as it not included on the list)
4) Lastly, if it is blank, no date or no number - the dates are coming in as"1/0/1900". I would rather these just stay blank instead. So blank for #N/A and blank for blanks would be the desired result for both of these.
Tried several ways to go about this...
This resulted in the my #N/As being blank like I wanted and the dates being formatted correctly; however, the number do not show - it is giving me a #VALUE error. Blanks are
=IF(ISNA(VLOOKUP(J166,'IOPT PC'!$G:$X,18,FALSE))," ",TEXT(VLOOKUP([@NEWFPC],'IOPT PC'!$G:$X,18,FALSE),"MM/DD/YYYY"))
This one gave me my dates and my numbers as I needed them formatted. However, my #N/A results are still showing #N/A and I am wanting them to be blank. Blanks are
=(IFERROR(TEXT(VLOOKUP([@NEWFPC],'IOPT PC'!$G:$X,18,FALSE),"MM/DD/YYYY"),(TEXT(VLOOKUP([@NEWFPC],'IOPT PC'!$G:$X,18,FALSE),0))))
This one gave me the dates as dates, the #N/As as blanks, but made my numbers ######## Blanks are
=IFERROR(INDEX('IOPT PC'!$X$1:$X$10000,MATCH(J166,'IOPT PC'!$G$1:$G$10000,0)),"")