Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Before the formula =Sheet1!A1 in Sheet2! returns a result I want it to first
check Sheet2!D3 first and then and only then return the result if D3 contains a value. Pat |
#2
![]() |
|||
|
|||
![]()
One way:
Entered in Sheet2: =(D3<"")*Sheet1!A1 If Sheet1 contains numbers For text and numbers on Sheet1: =IF(D3<"",Sheet1!A1,"") -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "Pat" wrote in message ... Before the formula =Sheet1!A1 in Sheet2! returns a result I want it to first check Sheet2!D3 first and then and only then return the result if D3 contains a value. Pat |
#3
![]() |
|||
|
|||
![]()
Pat,
Try =IF(ISBLANK(D3)=FALSE,Sheet1!A1," ") The formula checks to see if cell D3 is blank. If it is it returns no value. If it is not it returns the value in Sheet1!A1. ---- Regards, John Mansfield http://www.pdbook.com "Pat" wrote: Before the formula =Sheet1!A1 in Sheet2! returns a result I want it to first check Sheet2!D3 first and then and only then return the result if D3 contains a value. Pat |
#4
![]() |
|||
|
|||
![]()
or if you want to ensure that D3 contains a number rather than text
(depending on what is meant by "value") =IF(ISNUMBER(D3),Sheet1!A1,"") Cheers JulieD "RagDyeR" wrote in message .. . One way: Entered in Sheet2: =(D3<"")*Sheet1!A1 If Sheet1 contains numbers For text and numbers on Sheet1: =IF(D3<"",Sheet1!A1,"") -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "Pat" wrote in message ... Before the formula =Sheet1!A1 in Sheet2! returns a result I want it to first check Sheet2!D3 first and then and only then return the result if D3 contains a value. Pat |
#5
![]() |
|||
|
|||
![]()
Thank you everyone for your help.
Something I failed to mention is D3 contains a formula. Except for =(D3<"")*Sheet1!A1 almost all the formulas suggested work if I delete the formula in D3. What would be the solution now be, if any? Pat "John Mansfield" wrote in message ... Pat, Try =IF(ISBLANK(D3)=FALSE,Sheet1!A1," ") The formula checks to see if cell D3 is blank. If it is it returns no value. If it is not it returns the value in Sheet1!A1. ---- Regards, John Mansfield http://www.pdbook.com "Pat" wrote: Before the formula =Sheet1!A1 in Sheet2! returns a result I want it to first check Sheet2!D3 first and then and only then return the result if D3 contains a value. Pat |
#6
![]() |
|||
|
|||
![]()
Since my last post I have worked out what is needed, and here it is:
=IF(ISNUMBER(D3)*(D3<1),"",Sheet1!A1) Cheers "Pat" wrote in message ... Thank you everyone for your help. Something I failed to mention is D3 contains a formula. Except for =(D3<"")*Sheet1!A1 almost all the formulas suggested work if I delete the formula in D3. What would be the solution now be, if any? Pat "John Mansfield" wrote in message ... Pat, Try =IF(ISBLANK(D3)=FALSE,Sheet1!A1," ") The formula checks to see if cell D3 is blank. If it is it returns no value. If it is not it returns the value in Sheet1!A1. ---- Regards, John Mansfield http://www.pdbook.com "Pat" wrote: Before the formula =Sheet1!A1 in Sheet2! returns a result I want it to first check Sheet2!D3 first and then and only then return the result if D3 contains a value. Pat |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
return header as result in excel | Excel Worksheet Functions | |||
Amount or Numbers in Words | New Users to Excel | |||
Is there a formula to spell out a number in excel? | Excel Worksheet Functions | |||
Convert Numeric into Text | Excel Worksheet Functions | |||
Spellnumber | Excel Worksheet Functions |