PC Review


Reply
Thread Tools Rate Thread

appending and IF statement to an existing IF statement

 
 
=?Utf-8?B?c3BlbmNl?=
Guest
Posts: n/a
 
      28th Feb 2006
I have a formula that asks if cell B12 is blank, leave the cell in question
blank, but if there is a value in B12, fill the cell in question with the
value of cell B13:

=IF(isblank(B12),"",B13)

I would like to add an additional condition, which is that if the value of
B13 is less than the value of A1, a text error (such as "out of range") is
returned. All cells in question are formatted as dates.

I've tried a few ways of appending a second IF statement to me existing
forumla but am doing something incorrected. Any help is appreciated.

Thanks,
spence
 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      28th Feb 2006
Try:

=IF(ISBLANK(B12),"",IF(B13<A1,"out of range",B13))

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"spence" <(E-Mail Removed)> wrote in message
news:01929BE4-C801-4E98-8042-(E-Mail Removed)...
> I have a formula that asks if cell B12 is blank, leave the cell in

question
> blank, but if there is a value in B12, fill the cell in question with the
> value of cell B13:
>
> =IF(isblank(B12),"",B13)
>
> I would like to add an additional condition, which is that if the value of
> B13 is less than the value of A1, a text error (such as "out of range") is
> returned. All cells in question are formatted as dates.
>
> I've tried a few ways of appending a second IF statement to me existing
> forumla but am doing something incorrected. Any help is appreciated.
>
> Thanks,
> spence



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using SaveAs Statement to overwrite existing File Peter Microsoft Excel Programming 4 26th Mar 2010 06:26 AM
Using existing fields in an IIf statement Keith Woollacott Microsoft Access Reports 2 4th Jan 2008 12:10 PM
modification to existing code to If statement =?Utf-8?B?Sk9VSU9VSQ==?= Microsoft Excel Programming 2 21st Jul 2006 05:25 PM
RE: Need help with statement to edit existing record. =?Utf-8?B?T2ZlciBDb2hlbg==?= Microsoft Access VBA Modules 4 24th Jun 2006 06:07 PM
Help with adding a bit to an existing If Statement raehippychick Microsoft Excel Misc 4 16th Sep 2004 09:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:58 PM.