Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a table with 3 columns (Appt Time, Arrival Time, & Late). The
columns are all time format. I need the late column to only show a time IF the arrival time is after the appt time. So IF D2-C20 I want it to do that formula and put it in the column, but leave it blank if not. I am not sure how to correctly make this statement. All help is appreciated! Barry |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Give this a shot.
=IF(D2-C20,D2-C2," ") " wrote: I have a table with 3 columns (Appt Time, Arrival Time, & Late). The columns are all time format. I need the late column to only show a time IF the arrival time is after the appt time. So IF D2-C20 I want it to do that formula and put it in the column, but leave it blank if not. I am not sure how to correctly make this statement. All help is appreciated! Barry |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Note:
This will work unless the times may span midnight (due to XL storing times as fractional days). Also, there's no reason to include a space character between the quote marks if the value's <=0. In article , tim m wrote: Give this a shot. =IF(D2-C20,D2-C2," ") " wrote: I have a table with 3 columns (Appt Time, Arrival Time, & Late). The columns are all time format. I need the late column to only show a time IF the arrival time is after the appt time. So IF D2-C20 I want it to do that formula and put it in the column, but leave it blank if not. I am not sure how to correctly make this statement. All help is appreciated! Barry |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way:
E2: =IF(MOD(D2-C2,1)0,MOD(D2-C2,1),"") In article , wrote: I have a table with 3 columns (Appt Time, Arrival Time, & Late). The columns are all time format. I need the late column to only show a time IF the arrival time is after the appt time. So IF D2-C20 I want it to do that formula and put it in the column, but leave it blank if not. I am not sure how to correctly make this statement. All help is appreciated! Barry |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can an If statement answer an If statement? | Excel Discussion (Misc queries) | |||
IF Statement Help | Excel Worksheet Functions | |||
appending and IF statement to an existing IF statement | Excel Worksheet Functions | |||
If statement and Isblank statement | Excel Worksheet Functions | |||
Help please, IF statement/SUMIF statement | Excel Worksheet Functions |