Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Populating a cell based on a specific date/combo

Hi everyone I want to populate a cell with the value of another
cell..based on the following criteria:

If the first of the month is a Mon-FRI then the cell gets populated on
the date in the week which the first of the month falls on...example:
if 8/1/08 were a wed the field would get populated

UNLESS

If the first of the month were a Sat..like 11/1/08... if the first is
on a sat...then the field would get populated on the following monday
(11/3/08)

Any ideas? Thanks again!

Chris
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Populating a cell based on a specific date/combo

One way

=IF(WEEKDAY(A2,2)<6,A2,A2-WEEKDAY(A2,2)+8 )

with your date in A2

--


Regards,


Peo Sjoblom

"cmatera" wrote in message
...
Hi everyone I want to populate a cell with the value of another
cell..based on the following criteria:

If the first of the month is a Mon-FRI then the cell gets populated on
the date in the week which the first of the month falls on...example:
if 8/1/08 were a wed the field would get populated

UNLESS

If the first of the month were a Sat..like 11/1/08... if the first is
on a sat...then the field would get populated on the following monday
(11/3/08)

Any ideas? Thanks again!

Chris



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Populating a cell based on a specific date/combo

I have dates in cells ranging from cell F5 being 07/28/08 all the way
to cell AG5 being 08/06/08

My Cell would get populated with a #...10 for example if the first of
the month falls on a Mon-Fri so for example my cell on 8/1/08 would
get populated with 10 if the first of the month fell on that weekday.
However, sometimes the first of the month falls on a sat or even a
sunday 11/1/08 being a saturday. If the first falls on a saturday I
wouldn't want my cell to get populated with 10 until the next monday
(11/3/08).

So I'm still confused as to applying the formula - any ideas?

It's much appreciated
-Chris




The cell needs

On Aug 20, 2:50*pm, "Peo Sjoblom" wrote:
One way

=IF(WEEKDAY(A2,2)<6,A2,A2-WEEKDAY(A2,2)+8 )

with your date in A2

--

Regards,

Peo Sjoblom

"cmatera" wrote in message

...

Hi everyone I want to populate a cell with the value of another
cell..based on the following criteria:


If the first of the month is a Mon-FRI then the cell gets populated on
the date in the week which the first of the month falls on...example:
if 8/1/08 were a wed the field would get populated


UNLESS


If the first of the month were a Sat..like 11/1/08... if the first is
on a sat...then the field would get populated on the following monday
(11/3/08)


Any ideas? *Thanks again!


Chris


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
Populating a cell based on a range of values (Part III) akkrug New Users to Excel 3 June 26th 08 08:28 PM
Populating a Cell based on a Range of Values (Part II) akkrug New Users to Excel 6 June 22nd 08 02:40 PM
Populating a cell based on a range of values akkrug New Users to Excel 2 June 20th 08 03:09 PM
auto populating a cell based on another cell for an invoice Chrisinct Excel Discussion (Misc queries) 3 November 8th 07 06:08 PM
populating a cell based on another range of cells in excel Chris O'Neill Excel Discussion (Misc queries) 2 July 16th 07 10:20 PM


All times are GMT +1. The time now is 07:35 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"