#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default and and if functions

I am trying to make formula for two conditions on column C to get the
bednights.
=if (isblank (b4) ,1,0) and =if(b4<=C2,1,0).

1 A B C
2 ENTER DATE "EXITDATE" 07/01/09
3 Bednights
4 10/9/2008 07/15/09 1
5 10/9/2008 07/15/09 1
6 10/9/2008 07/15/09 1
7 10/9/2008 07/15/09 1
8 12/17/2008 1

Appreciate any help.

Thanks,

Jina

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default and and if functions

Are you looking to combine the formula like the below

=if (OR(isblank (b4),b4<=C2) ,1,0)

If this post helps click Yes
---------------
Jacob Skaria


"Fesco" wrote:

I am trying to make formula for two conditions on column C to get the
bednights.
=if (isblank (b4) ,1,0) and =if(b4<=C2,1,0).

1 A B C
2 ENTER DATE "EXITDATE" 07/01/09
3 Bednights
4 10/9/2008 07/15/09 1
5 10/9/2008 07/15/09 1
6 10/9/2008 07/15/09 1
7 10/9/2008 07/15/09 1
8 12/17/2008 1

Appreciate any help.

Thanks,

Jina

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
How to convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


All times are GMT +1. The time now is 09:11 PM.

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

About Us

"It's about Microsoft Excel"