Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Two Formulas for one Cell?

I am trying to execute the following formula for dates of sent/received files
and I am also showing elapsed days since the files were sent.

=IF(C1="",0,(TODAY()-B1))

This works fine if I have sent the file, it keeps count of the elapsed days
since the file was sent. However, once I receive the file back, I put that
date in, and I need this formula to then =C1-B1, which will give a total of
elapsed days. I have tried to figure this out, but for the life of me, can't
get anything to work. Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Two Formulas for one Cell?

Maybe

=IF(C1="",TODAY()-B1,C1-B1)

Mike

"Brandon" wrote:

I am trying to execute the following formula for dates of sent/received files
and I am also showing elapsed days since the files were sent.

=IF(C1="",0,(TODAY()-B1))

This works fine if I have sent the file, it keeps count of the elapsed days
since the file was sent. However, once I receive the file back, I put that
date in, and I need this formula to then =C1-B1, which will give a total of
elapsed days. I have tried to figure this out, but for the life of me, can't
get anything to work. Any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default Two Formulas for one Cell?

=IF(C1="",(TODAY()-B1),C1-B1)

with 'date sent' in B1 and 'date received' in C1.

does that help?


"Brandon" <Brandon @discussions.microsoft.com wrote in message
...
I am trying to execute the following formula for dates of sent/received
files
and I am also showing elapsed days since the files were sent.

=IF(C1="",0,(TODAY()-B1))

This works fine if I have sent the file, it keeps count of the elapsed
days
since the file was sent. However, once I receive the file back, I put that
date in, and I need this formula to then =C1-B1, which will give a total
of
elapsed days. I have tried to figure this out, but for the life of me,
can't
get anything to work. Any suggestions?



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
Carrying formulas over to new cell when old cell is deleted: possi Karl Excel Worksheet Functions 0 June 24th 08 01:10 PM
CLICK CELL, GO TO ANOTHER CELL. NO FORMULAS. Patty Excel Discussion (Misc queries) 3 February 26th 07 11:50 PM
How to trace a cell? Which cells use a special cell in formulas? SupperDuck Excel Discussion (Misc queries) 4 December 1st 06 04:17 PM
Copying formulas from cell to cell to cell to....... Tom Hardy Excel Discussion (Misc queries) 3 June 15th 06 03:29 PM
change cell value greater than another cell value using formulas Unsure? Excel Worksheet Functions 2 April 2nd 06 10:24 PM


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