Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-23-2008, 07:13 PM
=?Utf-8?B?Sk1fTWM=?=
 
Posts: n/a
IF formula to round up values depending upon their outcome

I am using an IF formula to calculate between two cells, one is J (width) the
other is K (length). Currently these formulas give an answer that then has
to be rounded up based on the decimal place. I need the formula to also
round up the amount to quarter increments. For example if the answer is 1.17
then the formula needs to make it 1.25, if it is 1.33 then the formula needs
to make it 1.5, and finally if it is 1.63 then the formula needs to make it
1.75. So how do I add or make the formula round up to quarter increments?
The formula that I am using is:
=IF(J41<=3,K41/4,IF(J41<=4,K41/3,IF(J41>4,K41/2)))
Reply With Quote
  #2 (permalink)  
Old 05-23-2008, 07:22 PM
Sandy Mann
 
Posts: n/a
Re: IF formula to round up values depending upon their outcome

Tty:

=IF(J41<=3,CEILING(K41/4,0.25),IF(J41<=4,CEILING(K41/3,0.25),IF(J41>4,CEILING(K41/2,0.25))))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk


"JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
news:F29EAA29-B8A7-4841-9C96-1A05A76F1670@microsoft.com...
>I am using an IF formula to calculate between two cells, one is J (width)
>the
> other is K (length). Currently these formulas give an answer that then
> has
> to be rounded up based on the decimal place. I need the formula to also
> round up the amount to quarter increments. For example if the answer is
> 1.17
> then the formula needs to make it 1.25, if it is 1.33 then the formula
> needs
> to make it 1.5, and finally if it is 1.63 then the formula needs to make
> it
> 1.75. So how do I add or make the formula round up to quarter increments?
> The formula that I am using is:
> =IF(J41<=3,K41/4,IF(J41<=4,K41/3,IF(J41>4,K41/2)))
>



Reply With Quote
  #3 (permalink)  
Old 05-23-2008, 07:39 PM
=?Utf-8?B?Sk1fTWM=?=
 
Posts: n/a
Re: IF formula to round up values depending upon their outcome

Thank you so much this has solved a question that has been around for quite
sometime. Could you answer another formula for me. I have two cells that I
need to sum up, one cell has a set value (E), and the second cell is a value
that is only entered when needed (F). How do I sum up the two only when F
has a value in it? (If there is no value in (F) I want the formula to not
place (E)'s value as the sum).



"Sandy Mann" wrote:

> Tty:
>
> =IF(J41<=3,CEILING(K41/4,0.25),IF(J41<=4,CEILING(K41/3,0.25),IF(J41>4,CEILING(K41/2,0.25))))
>
> --
> HTH
>
> Sandy
> In Perth, the ancient capital of Scotland
> and the crowning place of kings
>
> sandymann2@mailinator.com
> Replace @mailinator.com with @tiscali.co.uk
>
>
> "JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
> news:F29EAA29-B8A7-4841-9C96-1A05A76F1670@microsoft.com...
> >I am using an IF formula to calculate between two cells, one is J (width)
> >the
> > other is K (length). Currently these formulas give an answer that then
> > has
> > to be rounded up based on the decimal place. I need the formula to also
> > round up the amount to quarter increments. For example if the answer is
> > 1.17
> > then the formula needs to make it 1.25, if it is 1.33 then the formula
> > needs
> > to make it 1.5, and finally if it is 1.63 then the formula needs to make
> > it
> > 1.75. So how do I add or make the formula round up to quarter increments?
> > The formula that I am using is:
> > =IF(J41<=3,K41/4,IF(J41<=4,K41/3,IF(J41>4,K41/2)))
> >

>
>
>

Reply With Quote
  #4 (permalink)  
Old 05-23-2008, 08:10 PM
Sandy Mann
 
Posts: n/a
Re: IF formula to round up values depending upon their outcome

Try:

=IF(F41="","",SUM(E41:F41))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk


"JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
news:458EF6A8-51C2-4839-BCB4-1E00D7F672FC@microsoft.com...
> Thank you so much this has solved a question that has been around for
> quite
> sometime. Could you answer another formula for me. I have two cells that
> I
> need to sum up, one cell has a set value (E), and the second cell is a
> value
> that is only entered when needed (F). How do I sum up the two only when F
> has a value in it? (If there is no value in (F) I want the formula to not
> place (E)'s value as the sum).
>
>
>
> "Sandy Mann" wrote:
>
>> Tty:
>>
>> =IF(J41<=3,CEILING(K41/4,0.25),IF(J41<=4,CEILING(K41/3,0.25),IF(J41>4,CEILING(K41/2,0.25))))
>>
>> --
>> HTH
>>
>> Sandy
>> In Perth, the ancient capital of Scotland
>> and the crowning place of kings
>>
>> sandymann2@mailinator.com
>> Replace @mailinator.com with @tiscali.co.uk
>>
>>
>> "JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
>> news:F29EAA29-B8A7-4841-9C96-1A05A76F1670@microsoft.com...
>> >I am using an IF formula to calculate between two cells, one is J
>> >(width)
>> >the
>> > other is K (length). Currently these formulas give an answer that then
>> > has
>> > to be rounded up based on the decimal place. I need the formula to
>> > also
>> > round up the amount to quarter increments. For example if the answer
>> > is
>> > 1.17
>> > then the formula needs to make it 1.25, if it is 1.33 then the formula
>> > needs
>> > to make it 1.5, and finally if it is 1.63 then the formula needs to
>> > make
>> > it
>> > 1.75. So how do I add or make the formula round up to quarter
>> > increments?
>> > The formula that I am using is:
>> > =IF(J41<=3,K41/4,IF(J41<=4,K41/3,IF(J41>4,K41/2)))
>> >

>>
>>
>>

>



Reply With Quote
  #5 (permalink)  
Old 05-24-2008, 02:48 PM
=?Utf-8?B?ZGFkZHlsb25nbGVncw==?=
 
Posts: n/a
Re: IF formula to round up values depending upon their outcome

Here's another option for your first question.....

=CEILING(K41/INT(7-J41),0.25)

"Sandy Mann" wrote:

> Try:
>
> =IF(F41="","",SUM(E41:F41))
>
> --
> HTH
>
> Sandy
> In Perth, the ancient capital of Scotland
> and the crowning place of kings
>
> sandymann2@mailinator.com
> Replace @mailinator.com with @tiscali.co.uk
>
>
> "JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
> news:458EF6A8-51C2-4839-BCB4-1E00D7F672FC@microsoft.com...
> > Thank you so much this has solved a question that has been around for
> > quite
> > sometime. Could you answer another formula for me. I have two cells that
> > I
> > need to sum up, one cell has a set value (E), and the second cell is a
> > value
> > that is only entered when needed (F). How do I sum up the two only when F
> > has a value in it? (If there is no value in (F) I want the formula to not
> > place (E)'s value as the sum).
> >
> >
> >
> > "Sandy Mann" wrote:
> >
> >> Tty:
> >>
> >> =IF(J41<=3,CEILING(K41/4,0.25),IF(J41<=4,CEILING(K41/3,0.25),IF(J41>4,CEILING(K41/2,0.25))))
> >>
> >> --
> >> HTH
> >>
> >> Sandy
> >> In Perth, the ancient capital of Scotland
> >> and the crowning place of kings
> >>
> >> sandymann2@mailinator.com
> >> Replace @mailinator.com with @tiscali.co.uk
> >>
> >>
> >> "JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
> >> news:F29EAA29-B8A7-4841-9C96-1A05A76F1670@microsoft.com...
> >> >I am using an IF formula to calculate between two cells, one is J
> >> >(width)
> >> >the
> >> > other is K (length). Currently these formulas give an answer that then
> >> > has
> >> > to be rounded up based on the decimal place. I need the formula to
> >> > also
> >> > round up the amount to quarter increments. For example if the answer
> >> > is
> >> > 1.17
> >> > then the formula needs to make it 1.25, if it is 1.33 then the formula
> >> > needs
> >> > to make it 1.5, and finally if it is 1.63 then the formula needs to
> >> > make
> >> > it
> >> > 1.75. So how do I add or make the formula round up to quarter
> >> > increments?
> >> > The formula that I am using is:
> >> > =IF(J41<=3,K41/4,IF(J41<=4,K41/3,IF(J41>4,K41/2)))
> >> >
> >>
> >>
> >>

> >

>
>
>

Reply With Quote
  #6 (permalink)  
Old 05-24-2008, 02:54 PM
=?Utf-8?B?ZGFkZHlsb25nbGVncw==?=
 
Posts: n/a
Re: IF formula to round up values depending upon their outcome

Sorry, that would need to be....

=CEILING(K41/MIN(4,MAX(2,INT(7-J41))),0.25)



"daddylonglegs" wrote:

> Here's another option for your first question.....
>
> =CEILING(K41/INT(7-J41),0.25)
>
> "Sandy Mann" wrote:
>
> > Try:
> >
> > =IF(F41="","",SUM(E41:F41))
> >
> > --
> > HTH
> >
> > Sandy
> > In Perth, the ancient capital of Scotland
> > and the crowning place of kings
> >
> > sandymann2@mailinator.com
> > Replace @mailinator.com with @tiscali.co.uk
> >
> >
> > "JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
> > news:458EF6A8-51C2-4839-BCB4-1E00D7F672FC@microsoft.com...
> > > Thank you so much this has solved a question that has been around for
> > > quite
> > > sometime. Could you answer another formula for me. I have two cells that
> > > I
> > > need to sum up, one cell has a set value (E), and the second cell is a
> > > value
> > > that is only entered when needed (F). How do I sum up the two only when F
> > > has a value in it? (If there is no value in (F) I want the formula to not
> > > place (E)'s value as the sum).
> > >
> > >
> > >
> > > "Sandy Mann" wrote:
> > >
> > >> Tty:
> > >>
> > >> =IF(J41<=3,CEILING(K41/4,0.25),IF(J41<=4,CEILING(K41/3,0.25),IF(J41>4,CEILING(K41/2,0.25))))
> > >>
> > >> --
> > >> HTH
> > >>
> > >> Sandy
> > >> In Perth, the ancient capital of Scotland
> > >> and the crowning place of kings
> > >>
> > >> sandymann2@mailinator.com
> > >> Replace @mailinator.com with @tiscali.co.uk
> > >>
> > >>
> > >> "JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
> > >> news:F29EAA29-B8A7-4841-9C96-1A05A76F1670@microsoft.com...
> > >> >I am using an IF formula to calculate between two cells, one is J
> > >> >(width)
> > >> >the
> > >> > other is K (length). Currently these formulas give an answer that then
> > >> > has
> > >> > to be rounded up based on the decimal place. I need the formula to
> > >> > also
> > >> > round up the amount to quarter increments. For example if the answer
> > >> > is
> > >> > 1.17
> > >> > then the formula needs to make it 1.25, if it is 1.33 then the formula
> > >> > needs
> > >> > to make it 1.5, and finally if it is 1.63 then the formula needs to
> > >> > make
> > >> > it
> > >> > 1.75. So how do I add or make the formula round up to quarter
> > >> > increments?
> > >> > The formula that I am using is:
> > >> > =IF(J41<=3,K41/4,IF(J41<=4,K41/3,IF(J41>4,K41/2)))
> > >> >
> > >>
> > >>
> > >>
> > >

> >
> >
> >

Reply With Quote
  #7 (permalink)  
Old 05-24-2008, 09:46 PM
Shane Devenshire
 
Posts: n/a
Re: IF formula to round up values depending upon their outcome

Hi Sandy,

You might want to simplify the formula below to read:

=CEILING(K1/IF(J1<=3,4,IF(J1<=4,3,IF(J1>4,2))),0.25)

Cheers,
Shane Devenshire
Microsoft Excel MVP

"Sandy Mann" <sandymann2@mailinator.com> wrote in message
news:eivwzHQvIHA.4772@TK2MSFTNGP03.phx.gbl...
> Tty:
>
> =IF(J41<=3,CEILING(K41/4,0.25),IF(J41<=4,CEILING(K41/3,0.25),IF(J41>4,CEILING(K41/2,0.25))))
>
> --
> HTH
>
> Sandy
> In Perth, the ancient capital of Scotland
> and the crowning place of kings
>
> sandymann2@mailinator.com
> Replace @mailinator.com with @tiscali.co.uk
>
>
> "JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
> news:F29EAA29-B8A7-4841-9C96-1A05A76F1670@microsoft.com...
>>I am using an IF formula to calculate between two cells, one is J (width)
>>the
>> other is K (length). Currently these formulas give an answer that then
>> has
>> to be rounded up based on the decimal place. I need the formula to also
>> round up the amount to quarter increments. For example if the answer is
>> 1.17
>> then the formula needs to make it 1.25, if it is 1.33 then the formula
>> needs
>> to make it 1.5, and finally if it is 1.63 then the formula needs to make
>> it
>> 1.75. So how do I add or make the formula round up to quarter
>> increments?
>> The formula that I am using is:
>> =IF(J41<=3,K41/4,IF(J41<=4,K41/3,IF(J41>4,K41/2)))
>>

>
>

Reply With Quote
  #8 (permalink)  
Old 05-24-2008, 09:53 PM
Shane Devenshire
 
Posts: n/a
Re: IF formula to round up values depending upon their outcome

Hi again,

I see you got a shorter formula already, that one can also be shortened to:

=CEILING(K1/MIN(4,MAX(2,7-J1)),0.25)

Cheers,
Shane Devenshire
Microsoft Excel MVP

"JM_Mc" <JMMc@discussions.microsoft.com> wrote in message
news:F29EAA29-B8A7-4841-9C96-1A05A76F1670@microsoft.com...
> I am using an IF formula to calculate between two cells, one is J (width)
> the
> other is K (length). Currently these formulas give an answer that then
> has
> to be rounded up based on the decimal place. I need the formula to also
> round up the amount to quarter increments. For example if the answer is
> 1.17
> then the formula needs to make it 1.25, if it is 1.33 then the formula
> needs
> to make it 1.5, and finally if it is 1.63 then the formula needs to make
> it
> 1.75. So how do I add or make the formula round up to quarter increments?
> The formula that I am using is:
> =IF(J41<=3,K41/4,IF(J41<=4,K41/3,IF(J41>4,K41/2)))


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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



All times are GMT. The time now is 02:22 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Personal Loans | Per Insurance | Payday Advance | Hookah | Advertising



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114