Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Todaysdateminus1and2

I want to
A) put a formula in cell F2 so that if todays date minus 1 day is in cell
B2 than the contents of cell C2 will appear in cell F2
B) put a formula in G2 so that if todays date minus 2 days is in cell B2
than the contents of cell C2 will appear in cell G2

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Todaysdateminus1and2

In F2: =IF(B2=TODAY()-1,C2,"")
In G2: =IF(B2=TODAY()-2,C2,"")

Regards,
Stefi

MCheru ezt *rta:

I want to
A) put a formula in cell F2 so that if todays date minus 1 day is in cell
B2 than the contents of cell C2 will appear in cell F2
B) put a formula in G2 so that if todays date minus 2 days is in cell B2
than the contents of cell C2 will appear in cell G2

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Todaysdateminus1and2

Thank you so much. This works great

"Stefi" wrote:

In F2: =IF(B2=TODAY()-1,C2,"")
In G2: =IF(B2=TODAY()-2,C2,"")

Regards,
Stefi

MCheru ezt *rta:

I want to
A) put a formula in cell F2 so that if todays date minus 1 day is in cell
B2 than the contents of cell C2 will appear in cell F2
B) put a formula in G2 so that if todays date minus 2 days is in cell B2
than the contents of cell C2 will appear in cell G2

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Todaysdateminus1and2

You are welcome! Thanks for the feedback!
Stefi

MCheru ezt *rta:

Thank you so much. This works great

"Stefi" wrote:

In F2: =IF(B2=TODAY()-1,C2,"")
In G2: =IF(B2=TODAY()-2,C2,"")

Regards,
Stefi

MCheru ezt *rta:

I want to
A) put a formula in cell F2 so that if todays date minus 1 day is in cell
B2 than the contents of cell C2 will appear in cell F2
B) put a formula in G2 so that if todays date minus 2 days is in cell B2
than the contents of cell C2 will appear in cell G2

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



All times are GMT +1. The time now is 06:32 AM.

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"