GetDotted Domains

Viewing Thread:
"excel question"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Wed 04/02/04 at 22:31
Regular
"mad as a fish"
Posts: 6
if you take one time from another how dou show wether it is earl or late I.E

=IF(B1>A1,B1-A1,A1-B1)
Diff
09:00 08:45 00:15
10:00 10:15 00:15

They both sow a 15 min difference but one is early and one is late..........how do i change the if statement to to show a + or a -
Sat 07/02/04 at 16:52
Regular
Posts: 93
I believe this is what your after

=IF((A1>=B1),"-","+")& TEXT(IF(A1>= B1,A1-B1,B1-A1),"hh:mm")

The only problem is that it has now become a text string and you cannot do any further calculations on the result.

the borg
Fri 06/02/04 at 11:04
Regular
"Cigar smoker"
Posts: 7,885
Well you could title the columns ...... that's what they're there for.
Thu 05/02/04 at 15:10
Regular
"mad as a fish"
Posts: 6
even putting the answer in two cols still does not solve it as you still dont know wether its early or late...........more brain strain here i think. thanks to all........nice site....nice people
Thu 05/02/04 at 12:45
Regular
"Cigar smoker"
Posts: 7,885
I think that your problem is your trying to show time in a negative manner, this isn't possible in excel although I can appreciate why you'd want to do it.

I think you'll have to have two columns, one for the positive time and one for the negative time. Both columns / cells will show up as positive numbers but you can subtract one from the other.

I'm still working on it :|
Thu 05/02/04 at 12:34
Regular
"Cigar smoker"
Posts: 7,885
Fires up Excell to have a look :)
Wed 04/02/04 at 22:31
Regular
"mad as a fish"
Posts: 6
if you take one time from another how dou show wether it is earl or late I.E

=IF(B1>A1,B1-A1,A1-B1)
Diff
09:00 08:45 00:15
10:00 10:15 00:15

They both sow a 15 min difference but one is early and one is late..........how do i change the if statement to to show a + or a -

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Many thanks!
You were 100% right - great support!
Continue this excellent work...
Brilliant! As usual the careful and intuitive production that Freeola puts into everything it sets out to do, I am delighted.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.