PC Review


Reply
Thread Tools Rate Thread

Choose a specific calculating formula for a cell

 
 
jpsabourin@quickbusiness.com
Guest
Posts: n/a
 
      8th May 2007
How do I get a cell to look at another cell and when a specific
parameter is met it chooses the correct formula

i.e.

First parameters

A1: cell has the value 07/04/2007 9:45 Available at
B1: cell has the value 07/04/2007 17:00 Due by Time
C1: cell has the value 07/04/2007 14.30 Time delivered

Calculation A for this parameter would be =c1-a1

Second parameters

A1: cell has the value 07/04/2007 12:30 Available at
B1: cell has the value 08/04/2007 12:00 Due by Time
C1: cell has the value 08/04/2007 10.30 Time delivered

Calculation B for this parameter would be =c1-a1-15/24

HOW DO I GET CELL D1 to choose calculation A when the due by time is
17:00 or calculation B when the due by time is 12:00

Thanks
JP

 
Reply With Quote
 
 
 
 
Roger Govier
Guest
Posts: n/a
 
      8th May 2007
Hi

=IF(HOUR(B1)=12,C1-A1-15/24,IF(HOUR(B1)=17,C1-A1,""))

The final null "" is for the situation if B1 is neither 12:00 nor 17:00.
Amend to suit.

--
Regards

Roger Govier


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How do I get a cell to look at another cell and when a specific
> parameter is met it chooses the correct formula
>
> i.e.
>
> First parameters
>
> A1: cell has the value 07/04/2007 9:45 Available at
> B1: cell has the value 07/04/2007 17:00 Due by Time
> C1: cell has the value 07/04/2007 14.30 Time delivered
>
> Calculation A for this parameter would be =c1-a1
>
> Second parameters
>
> A1: cell has the value 07/04/2007 12:30 Available at
> B1: cell has the value 08/04/2007 12:00 Due by Time
> C1: cell has the value 08/04/2007 10.30 Time delivered
>
> Calculation B for this parameter would be =c1-a1-15/24
>
> HOW DO I GET CELL D1 to choose calculation A when the due by time is
> 17:00 or calculation B when the due by time is 12:00
>
> Thanks
> JP
>



 
Reply With Quote
 
jpsabourin@quickbusiness.com
Guest
Posts: n/a
 
      8th May 2007
On May 8, 10:11 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
wrote:
> Hi
>
> =IF(HOUR(B1)=12,C1-A1-15/24,IF(HOUR(B1)=17,C1-A1,""))
>
> The final null "" is for the situation if B1 is neither 12:00 nor 17:00.
> Amend to suit.
>
> --
> Regards
>
> Roger Govier
>
> <jpsabou...@quickbusiness.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> > How do I get a cell to look at another cell and when a specific
> > parameter is met it chooses the correct formula

>
> > i.e.

>
> > First parameters

>
> > A1: cell has the value 07/04/2007 9:45 Available at
> > B1: cell has the value 07/04/2007 17:00 Due by Time
> > C1: cell has the value 07/04/2007 14.30 Time delivered

>
> > Calculation A for this parameter would be =c1-a1

>
> > Second parameters

>
> > A1: cell has the value 07/04/2007 12:30 Available at
> > B1: cell has the value 08/04/2007 12:00 Due by Time
> > C1: cell has the value 08/04/2007 10.30 Time delivered

>
> > Calculation B for this parameter would be =c1-a1-15/24

>
> > HOW DO I GET CELL D1 to choose calculation A when the due by time is
> > 17:00 or calculation B when the due by time is 12:00

>
> > Thanks
> > JP- Hide quoted text -

>
> - Show quoted text -


You are good, thank you very much for your help

 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      8th May 2007
You're very welcome. Thanks for the feedback

--
Regards

Roger Govier


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On May 8, 10:11 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
> wrote:
>> Hi
>>
>> =IF(HOUR(B1)=12,C1-A1-15/24,IF(HOUR(B1)=17,C1-A1,""))
>>
>> The final null "" is for the situation if B1 is neither 12:00 nor
>> 17:00.
>> Amend to suit.
>>
>> --
>> Regards
>>
>> Roger Govier
>>
>> <jpsabou...@quickbusiness.com> wrote in message
>>
>> news:(E-Mail Removed)...
>>
>>
>>
>> > How do I get a cell to look at another cell and when a specific
>> > parameter is met it chooses the correct formula

>>
>> > i.e.

>>
>> > First parameters

>>
>> > A1: cell has the value 07/04/2007 9:45 Available at
>> > B1: cell has the value 07/04/2007 17:00 Due by Time
>> > C1: cell has the value 07/04/2007 14.30 Time delivered

>>
>> > Calculation A for this parameter would be =c1-a1

>>
>> > Second parameters

>>
>> > A1: cell has the value 07/04/2007 12:30 Available at
>> > B1: cell has the value 08/04/2007 12:00 Due by Time
>> > C1: cell has the value 08/04/2007 10.30 Time delivered

>>
>> > Calculation B for this parameter would be =c1-a1-15/24

>>
>> > HOW DO I GET CELL D1 to choose calculation A when the due by time
>> > is
>> > 17:00 or calculation B when the due by time is 12:00

>>
>> > Thanks
>> > JP- Hide quoted text -

>>
>> - Show quoted text -

>
> You are good, thank you very much for your help
>



 
Reply With Quote
 
jpsabourin@quickbusiness.com
Guest
Posts: n/a
 
      8th May 2007
On May 8, 10:53 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
wrote:
> You're very welcome. Thanks for the feedback
>
> --
> Regards
>
> Roger Govier
>
> <jpsabou...@quickbusiness.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> > On May 8, 10:11 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
> > wrote:
> >> Hi

>
> >> =IF(HOUR(B1)=12,C1-A1-15/24,IF(HOUR(B1)=17,C1-A1,""))

>
> >> The final null "" is for the situation if B1 is neither 12:00 nor
> >> 17:00.
> >> Amend to suit.

>
> >> --
> >> Regards

>
> >> Roger Govier

>
> >> <jpsabou...@quickbusiness.com> wrote in message

>
> >>news:(E-Mail Removed)...

>
> >> > How do I get a cell to look at another cell and when a specific
> >> > parameter is met it chooses the correct formula

>
> >> > i.e.

>
> >> > First parameters

>
> >> > A1: cell has the value 07/04/2007 9:45 Available at
> >> > B1: cell has the value 07/04/2007 17:00 Due by Time
> >> > C1: cell has the value 07/04/2007 14.30 Time delivered

>
> >> > Calculation A for this parameter would be =c1-a1

>
> >> > Second parameters

>
> >> > A1: cell has the value 07/04/2007 12:30 Available at
> >> > B1: cell has the value 08/04/2007 12:00 Due by Time
> >> > C1: cell has the value 08/04/2007 10.30 Time delivered

>
> >> > Calculation B for this parameter would be =c1-a1-15/24

>
> >> > HOW DO I GET CELL D1 to choose calculation A when the due by time
> >> > is
> >> > 17:00 or calculation B when the due by time is 12:00

>
> >> > Thanks
> >> > JP- Hide quoted text -

>
> >> - Show quoted text -

>
> > You are good, thank you very much for your help- Hide quoted text -

>
> - Show quoted text -


Just one more tiny favour, if the hour is not defined by 12 or 17 can
a formula still be achieved.

I see you given me the none ""> >> =IF(HOUR(B1)=12,C1-
A1-15/24,IF(HOUR(B1)=17,C1-A1,""))

Let say I have orders that do not need this, example a difference
service level

>
> >> > A1: cell has the value 07/04/2007 12:30 Available at
> >> > B1: cell has the value 07/04/2007 14:30 Due by Time
> >> > C1: cell has the value 07/04/2007 13.30 Time delivered



 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      8th May 2007
Hi

The formula I gave would insert a null in the cell, if the value in B1
was neither 17:00 nor 12:00.
With your latest example, 14:30 would come into either category, hence
there would not be a calculation showing in the C column.

Is there some other situation or some other calculation that should
prevail if the time is 14:30?
Can you give a list of the conditions, and what time calculation you
want to show up?

--
Regards

Roger Govier


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On May 8, 10:53 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
> wrote:
>> You're very welcome. Thanks for the feedback
>>
>> --
>> Regards
>>
>> Roger Govier
>>
>> <jpsabou...@quickbusiness.com> wrote in message
>>
>> news:(E-Mail Removed)...
>>
>>
>>
>> > On May 8, 10:11 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
>> > wrote:
>> >> Hi

>>
>> >> =IF(HOUR(B1)=12,C1-A1-15/24,IF(HOUR(B1)=17,C1-A1,""))

>>
>> >> The final null "" is for the situation if B1 is neither 12:00 nor
>> >> 17:00.
>> >> Amend to suit.

>>
>> >> --
>> >> Regards

>>
>> >> Roger Govier

>>
>> >> <jpsabou...@quickbusiness.com> wrote in message

>>
>> >>news:(E-Mail Removed)...

>>
>> >> > How do I get a cell to look at another cell and when a specific
>> >> > parameter is met it chooses the correct formula

>>
>> >> > i.e.

>>
>> >> > First parameters

>>
>> >> > A1: cell has the value 07/04/2007 9:45 Available at
>> >> > B1: cell has the value 07/04/2007 17:00 Due by Time
>> >> > C1: cell has the value 07/04/2007 14.30 Time delivered

>>
>> >> > Calculation A for this parameter would be =c1-a1

>>
>> >> > Second parameters

>>
>> >> > A1: cell has the value 07/04/2007 12:30 Available at
>> >> > B1: cell has the value 08/04/2007 12:00 Due by Time
>> >> > C1: cell has the value 08/04/2007 10.30 Time delivered

>>
>> >> > Calculation B for this parameter would be =c1-a1-15/24

>>
>> >> > HOW DO I GET CELL D1 to choose calculation A when the due by
>> >> > time
>> >> > is
>> >> > 17:00 or calculation B when the due by time is 12:00

>>
>> >> > Thanks
>> >> > JP- Hide quoted text -

>>
>> >> - Show quoted text -

>>
>> > You are good, thank you very much for your help- Hide quoted text -

>>
>> - Show quoted text -

>
> Just one more tiny favour, if the hour is not defined by 12 or 17 can
> a formula still be achieved.
>
> I see you given me the none ""> >> =IF(HOUR(B1)=12,C1-
> A1-15/24,IF(HOUR(B1)=17,C1-A1,""))
>
> Let say I have orders that do not need this, example a difference
> service level
>
>>
>> >> > A1: cell has the value 07/04/2007 12:30 Available at
>> >> > B1: cell has the value 07/04/2007 14:30 Due by Time
>> >> > C1: cell has the value 07/04/2007 13.30 Time delivered

>
>



 
Reply With Quote
 
jpsabourin@quickbusiness.com
Guest
Posts: n/a
 
      8th May 2007
On May 8, 11:35 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
wrote:
> Hi
>
> The formula I gave would insert a null in the cell, if the value in B1
> was neither 17:00 nor 12:00.
> With your latest example, 14:30 would come into either category, hence
> there would not be a calculation showing in the C column.
>
> Is there some other situation or some other calculation that should
> prevail if the time is 14:30?
> Can you give a list of the conditions, and what time calculation you
> want to show up?
>
> --
> Regards
>
> Roger Govier
>
> <jpsabou...@quickbusiness.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> > On May 8, 10:53 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
> > wrote:
> >> You're very welcome. Thanks for the feedback

>
> >> --
> >> Regards

>
> >> Roger Govier

>
> >> <jpsabou...@quickbusiness.com> wrote in message

>
> >>news:(E-Mail Removed)...

>
> >> > On May 8, 10:11 am, "Roger Govier" <r...@technologyNOSPAM4u.co.uk>
> >> > wrote:
> >> >> Hi

>
> >> >> =IF(HOUR(B1)=12,C1-A1-15/24,IF(HOUR(B1)=17,C1-A1,""))

>
> >> >> The final null "" is for the situation if B1 is neither 12:00 nor
> >> >> 17:00.
> >> >> Amend to suit.

>
> >> >> --
> >> >> Regards

>
> >> >> Roger Govier

>
> >> >> <jpsabou...@quickbusiness.com> wrote in message

>
> >> >>news:(E-Mail Removed)...

>
> >> >> > How do I get a cell to look at another cell and when a specific
> >> >> > parameter is met it chooses the correct formula

>
> >> >> > i.e.

>
> >> >> > First parameters

>
> >> >> > A1: cell has the value 07/04/2007 9:45 Available at
> >> >> > B1: cell has the value 07/04/2007 17:00 Due by Time
> >> >> > C1: cell has the value 07/04/2007 14.30 Time delivered

>
> >> >> > Calculation A for this parameter would be =c1-a1

>
> >> >> > Second parameters

>
> >> >> > A1: cell has the value 07/04/2007 12:30 Available at
> >> >> > B1: cell has the value 08/04/2007 12:00 Due by Time
> >> >> > C1: cell has the value 08/04/2007 10.30 Time delivered

>
> >> >> > Calculation B for this parameter would be =c1-a1-15/24

>
> >> >> > HOW DO I GET CELL D1 to choose calculation A when the due by
> >> >> > time
> >> >> > is
> >> >> > 17:00 or calculation B when the due by time is 12:00

>
> >> >> > Thanks
> >> >> > JP- Hide quoted text -

>
> >> >> - Show quoted text -

>
> >> > You are good, thank you very much for your help- Hide quoted text -

>
> >> - Show quoted text -

>
> > Just one more tiny favour, if the hour is not defined by 12 or 17 can
> > a formula still be achieved.

>
> > I see you given me the none ""> >> =IF(HOUR(B1)=12,C1-
> > A1-15/24,IF(HOUR(B1)=17,C1-A1,""))

>
> > Let say I have orders that do not need this, example a difference
> > service level

>
> >> >> > A1: cell has the value 07/04/2007 12:30 Available at
> >> >> > B1: cell has the value 07/04/2007 14:30 Due by Time
> >> >> > C1: cell has the value 07/04/2007 13.30 Time delivered- Hide quoted text -

>
> - Show quoted text -


I have figured out the rest of formula required, by removing the none,
it works fine.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countifs formula not calculating my specific data Derrick Microsoft Excel Discussion 5 20th Mar 2010 09:21 PM
choose last specific nonblank cell from different worksheets =?Utf-8?B?Q29tcGFzc2lvbmF0ZSBGZWxpeA==?= Microsoft Excel Misc 1 1st Feb 2007 07:07 PM
formula to choose a hyperlink from a cell =?Utf-8?B?THVvbmcgVmluaCBUdQ==?= Microsoft Excel Worksheet Functions 1 25th Sep 2006 04:13 AM
Formula to choose cell and then cell three rows down =?Utf-8?B?bWc=?= Microsoft Excel Worksheet Functions 1 1st Aug 2006 06:51 PM
CALCULATING A FORMULA TO USE A SPECIFIC CELL'S VALUES =?Utf-8?B?UGF1bEgtT3o=?= Microsoft Excel Worksheet Functions 0 26th Mar 2006 11:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:27 AM.