Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2007

Tip: Looking for answers? Try searching our database.

Formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Boenerge - 17 Dec 2007 16:47 GMT
Hi,
What formula should I use if I want it to look at a specific cell and then
work out the total number between two numbers.
e.g. if cell H6 had 7-4 entered the number 9 would be returned.
Thanks in advance
Dave Peterson - 17 Dec 2007 16:52 GMT
I'm not sure how you got 9, but your life would be much easier if you used two
separate cells and then subtracted the smaller from the larger (and then added
one???).

> Hi,
> What formula should I use if I want it to look at a specific cell and then
> work out the total number between two numbers.
> e.g. if cell H6 had 7-4 entered the number 9 would be returned.
> Thanks in advance

Signature

Dave Peterson

Boenerge - 17 Dec 2007 19:58 GMT
Hi Dave,
Sorry I should have said that the numbers in the cell represent time, 7
o'clock to 4 o'clock, which gives 9 hours.

> I'm not sure how you got 9, but your life would be much easier if you used two
> separate cells and then subtracted the smaller from the larger (and then added
[quoted text clipped - 5 lines]
> > e.g. if cell H6 had 7-4 entered the number 9 would be returned.
> > Thanks in advance
Dave Peterson - 17 Dec 2007 20:10 GMT
I'd still put the times in separate cells.

And I'd enter the values as times (7:00:00 and 4:00:00 PM (or 16:00:00)) and
subtract them and format as hh:mm:ss.

> Hi Dave,
> Sorry I should have said that the numbers in the cell represent time, 7
[quoted text clipped - 13 lines]
> >
> > Dave Peterson

Signature

Dave Peterson

CLR - 17 Dec 2007 19:03 GMT
Maybe this..........
=(LEFT(A1,FIND("-",A1,1)-1)*1)-MID(A1,FIND("-",A1,1)+1,99)*1

Vaya con Dios,
Chuck, CABGx3

> Hi,
> What formula should I use if I want it to look at a specific cell and then
> work out the total number between two numbers.
> e.g. if cell H6 had 7-4 entered the number 9 would be returned.
> Thanks in advance

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.