ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Checking a second lookup condition (https://www.excelbanter.com/excel-worksheet-functions/130793-checking-second-lookup-condition.html)

Obwan

Checking a second lookup condition
 
=IF(A9="","",'DOWNLOAD WO SHORTAGE LIST'!D9)


This formula looks in Cell A9 for a works order #
If it is blank it will return blank
Else go to worksheet 'DOWNLOAD WO SHORTAGE LIST'
Pick up the date in cell D9

My question: How do I expand this statement to include
IF D9 in 'DOWNLOAD WO SHORTAGE LIST' has no date then Blank else date.

Presently it returns the excel default 01/01/1900

Teethless mama

Checking a second lookup condition
 
=IF(OR(A1="",NOT(ISNUMBER('DOWNLOAD WO SHORTAGE LIST'!D9))),"",'DOWNLOAD WO
SHORTAGE LIST'!D9


"Obwan" wrote:

=IF(A9="","",'DOWNLOAD WO SHORTAGE LIST'!D9)


This formula looks in Cell A9 for a works order #
If it is blank it will return blank
Else go to worksheet 'DOWNLOAD WO SHORTAGE LIST'
Pick up the date in cell D9

My question: How do I expand this statement to include
IF D9 in 'DOWNLOAD WO SHORTAGE LIST' has no date then Blank else date.

Presently it returns the excel default 01/01/1900


Obwan

Checking a second lookup condition
 
Faster than a speeding bullet. Superman had nothing on you.
Brilliant, Thank you.



"Teethless mama" wrote:

=IF(OR(A1="",NOT(ISNUMBER('DOWNLOAD WO SHORTAGE LIST'!D9))),"",'DOWNLOAD WO
SHORTAGE LIST'!D9


"Obwan" wrote:

=IF(A9="","",'DOWNLOAD WO SHORTAGE LIST'!D9)


This formula looks in Cell A9 for a works order #
If it is blank it will return blank
Else go to worksheet 'DOWNLOAD WO SHORTAGE LIST'
Pick up the date in cell D9

My question: How do I expand this statement to include
IF D9 in 'DOWNLOAD WO SHORTAGE LIST' has no date then Blank else date.

Presently it returns the excel default 01/01/1900


JMB

Checking a second lookup condition
 
Another suggestion is a custom number format of

mm/dd/yyyy;;

the actual cell value would still be 0 (or 1/0/1900), but would not be shown
on screen.


"Obwan" wrote:

=IF(A9="","",'DOWNLOAD WO SHORTAGE LIST'!D9)


This formula looks in Cell A9 for a works order #
If it is blank it will return blank
Else go to worksheet 'DOWNLOAD WO SHORTAGE LIST'
Pick up the date in cell D9

My question: How do I expand this statement to include
IF D9 in 'DOWNLOAD WO SHORTAGE LIST' has no date then Blank else date.

Presently it returns the excel default 01/01/1900


Obwan

Checking a second lookup condition
 
Nice and simple. Appreciate your help.

"JMB" wrote:

Another suggestion is a custom number format of

mm/dd/yyyy;;

the actual cell value would still be 0 (or 1/0/1900), but would not be shown
on screen.


"Obwan" wrote:

=IF(A9="","",'DOWNLOAD WO SHORTAGE LIST'!D9)


This formula looks in Cell A9 for a works order #
If it is blank it will return blank
Else go to worksheet 'DOWNLOAD WO SHORTAGE LIST'
Pick up the date in cell D9

My question: How do I expand this statement to include
IF D9 in 'DOWNLOAD WO SHORTAGE LIST' has no date then Blank else date.

Presently it returns the excel default 01/01/1900



All times are GMT +1. The time now is 10:11 AM.

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