#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formula question


how do I turn the following into a formula?

If column J of sheet "hicap-09" is greater than or equal to 3/16/09 and
is less than or equal to 3/21, if yes "1", if no than "0"


--
Cook
------------------------------------------------------------------------
Cook's Profile: http://www.thecodecage.com/forumz/member.php?userid=107
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=83292

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Formula question

What cell in column J?

I used J99:

=if(and('hicap-09'!J99=date(2009,3,16),'hicap-09'!j99<=date(2009,3,21)),1,0)

Actually, you don't need the if portion:

=--(and('hicap-09'!J99=date(2009,3,16),'hicap-09'!j99<=date(2009,3,21)))

The rightmost - sign changes true to -1 and the leftmost - sign changes -1 to 1.

And --(false) will be 0.

Cook wrote:

how do I turn the following into a formula?

If column J of sheet "hicap-09" is greater than or equal to 3/16/09 and
is less than or equal to 3/21, if yes "1", if no than "0"

--
Cook
------------------------------------------------------------------------
Cook's Profile: http://www.thecodecage.com/forumz/member.php?userid=107
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=83292


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formula question


I guess what I am really trying to do is add on (hicap-09) the number of
"FULL JOBS" (COLUMN C), written by "A. BERNARDI" (COLUMN G) and
completed between two specific dates (CELLS B1&B2 ON sheet1, COLUMN J ON
hicap-09) and put that number in cell B3 of "sheet1".

Does this make sense?




--
Cook
------------------------------------------------------------------------
Cook's Profile: http://www.thecodecage.com/forumz/member.php?userid=107
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=83292

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
formula question abraun New Users to Excel 4 March 21st 09 11:13 AM
Formula Question - please help Belle[_2_] Excel Worksheet Functions 8 January 30th 09 06:22 AM
Formula Question ynissel Excel Discussion (Misc queries) 4 January 4th 07 09:00 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Formula question Amanda Excel Discussion (Misc queries) 3 January 25th 06 08:01 PM


All times are GMT +1. The time now is 03:53 AM.

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"