Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave1940
 
Posts: n/a
Default write a "if" command. day of month + remainder

In Excel I want to write a "if" command to look at one cell during the first
part of the month and another cell for the remainder of the month. For
instance I recieve my social security check into my checking account on a
seclected day of the month. I want to have the "if" command to tell me my
balance before this seclected day of the month, then have it tell me the
balance after this day of the month. I have on my spread sheet two different
cells with different balances for the "if" statement to look.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default write a "if" command. day of month + remainder

Hi Dave:

This is only a sample. Say =TODAY() is in A1 and the first cell to look at
is B1 and the other is C1.

=IF(DAY(A1)<15,B1,C1)

will return either B1 or C1 depending on whether today is past the fifteenth
of the month
--
Gary's Student


"Dave1940" wrote:

In Excel I want to write a "if" command to look at one cell during the first
part of the month and another cell for the remainder of the month. For
instance I recieve my social security check into my checking account on a
seclected day of the month. I want to have the "if" command to tell me my
balance before this seclected day of the month, then have it tell me the
balance after this day of the month. I have on my spread sheet two different
cells with different balances for the "if" statement to look.

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
Share write protection fails Mikael Schvili Excel Discussion (Misc queries) 0 March 22nd 06 11:12 AM
How to correctly write a cross-sheet "IF" formula in Excel Jay Excel Worksheet Functions 4 November 17th 05 01:20 AM
4 and 5 week months Big Rick Excel Discussion (Misc queries) 15 November 7th 05 12:32 AM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM


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