Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default Return result only if....

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   Report Post  
RagDyeR
 
Posts: n/a
Default

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   Report Post  
John Mansfield
 
Posts: n/a
Default

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   Report Post  
JulieD
 
Posts: n/a
Default

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   Report Post  
Pat
 
Posts: n/a
Default

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   Report Post  
Pat
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
return header as result in excel NN Excel Worksheet Functions 4 January 22nd 05 03:43 PM
Amount or Numbers in Words ron New Users to Excel 6 December 24th 04 07:32 PM
Is there a formula to spell out a number in excel? Sha-nay-nay Excel Worksheet Functions 2 December 18th 04 09:25 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM
Spellnumber Norman Jones Excel Worksheet Functions 6 December 13th 04 07:21 AM


All times are GMT +1. The time now is 06:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"