Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Finding the value over half of another value.

Hi

I have a three columns . In Cell A1i have 4 Units and in B1 i have 3 units.
I would like cell C1 to show the value of what ever number is left over from
cell B1 if it is more than half the value of A1. So in this case i have 4/2 =
2 So cell B2 being 3 is 1 over half of A1. so that figure would be multiply
by 4.23 so C1 =4.23.
If the value of B1 matches half or is below half the value of A1 it would
ignore the number.

Many thanks

Neil
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Finding the value over half of another value.

Maybe:-

=IF(B1-(A1/2)<=0,"",(B1-(A1/2))*4.23)

Mike

"Neil" wrote:

Hi

I have a three columns . In Cell A1i have 4 Units and in B1 i have 3 units.
I would like cell C1 to show the value of what ever number is left over from
cell B1 if it is more than half the value of A1. So in this case i have 4/2 =
2 So cell B2 being 3 is 1 over half of A1. so that figure would be multiply
by 4.23 so C1 =4.23.
If the value of B1 matches half or is below half the value of A1 it would
ignore the number.

Many thanks

Neil

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Finding the value over half of another value.


Thanks Mike that works the only thing is i would like to round the half
values up. So
So if A1 =5 units and B1 =3 units in C1 i get 2.12. Iwould like to get this
figure to round up so i only get full price (4.23).

Thanks Again


"Mike H" wrote:

Maybe:-

=IF(B1-(A1/2)<=0,"",(B1-(A1/2))*4.23)

Mike

"Neil" wrote:

Hi

I have a three columns . In Cell A1i have 4 Units and in B1 i have 3 units.
I would like cell C1 to show the value of what ever number is left over from
cell B1 if it is more than half the value of A1. So in this case i have 4/2 =
2 So cell B2 being 3 is 1 over half of A1. so that figure would be multiply
by 4.23 so C1 =4.23.
If the value of B1 matches half or is below half the value of A1 it would
ignore the number.

Many thanks

Neil

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Finding the value over half of another value.

Neil,

I don't understand.

If the 1/2 of A1 is rounded up then you could get spurious results.
For example:-

A1=5
B1=3

Half of A1 prior to rounding up passes your test of B1 being greater than
the value of 1/2 A1 but if the result is rounded to 3 then it fails that test.

Mike

"Neil" wrote:


Thanks Mike that works the only thing is i would like to round the half
values up. So
So if A1 =5 units and B1 =3 units in C1 i get 2.12. Iwould like to get this
figure to round up so i only get full price (4.23).

Thanks Again


"Mike H" wrote:

Maybe:-

=IF(B1-(A1/2)<=0,"",(B1-(A1/2))*4.23)

Mike

"Neil" wrote:

Hi

I have a three columns . In Cell A1i have 4 Units and in B1 i have 3 units.
I would like cell C1 to show the value of what ever number is left over from
cell B1 if it is more than half the value of A1. So in this case i have 4/2 =
2 So cell B2 being 3 is 1 over half of A1. so that figure would be multiply
by 4.23 so C1 =4.23.
If the value of B1 matches half or is below half the value of A1 it would
ignore the number.

Many thanks

Neil

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 173
Default Finding the value over half of another value.

Hi MIke

Thanks for the reponse.

Sorry i can see i am making it sound a bit confusing.
But what i mean to say is i can't use half units. So in the case of

A1=5 units
B1=3 units

They would have an allocation of 2.5 units, but as they can't be halfed it
would be 3 units. So anything above 3 units then would be multipled by 4.23.
On the even numbers it would be easier.

Sorry i can see this is a lot more difficult than i originally thought.
Thanks for the help



"Mike H" wrote:

Neil,

I don't understand.

If the 1/2 of A1 is rounded up then you could get spurious results.
For example:-

A1=5
B1=3

Half of A1 prior to rounding up passes your test of B1 being greater than
the value of 1/2 A1 but if the result is rounded to 3 then it fails that test.

Mike

"Neil" wrote:


Thanks Mike that works the only thing is i would like to round the half
values up. So
So if A1 =5 units and B1 =3 units in C1 i get 2.12. Iwould like to get this
figure to round up so i only get full price (4.23).

Thanks Again


"Mike H" wrote:

Maybe:-

=IF(B1-(A1/2)<=0,"",(B1-(A1/2))*4.23)

Mike

"Neil" wrote:

Hi

I have a three columns . In Cell A1i have 4 Units and in B1 i have 3 units.
I would like cell C1 to show the value of what ever number is left over from
cell B1 if it is more than half the value of A1. So in this case i have 4/2 =
2 So cell B2 being 3 is 1 over half of A1. so that figure would be multiply
by 4.23 so C1 =4.23.
If the value of B1 matches half or is below half the value of A1 it would
ignore the number.

Many thanks

Neil



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default Finding the value over half of another value.

Hi Niel,

This isn't going anywhere because you are only explaining bits and pieces
of what you want.

Please explain in detail what it is you are trying to achieve.

Regards
Martin



"Neil" wrote in message
...
Hi MIke

Thanks for the reponse.

Sorry i can see i am making it sound a bit confusing.
But what i mean to say is i can't use half units. So in the case of

A1=5 units
B1=3 units

They would have an allocation of 2.5 units, but as they can't be halfed it
would be 3 units. So anything above 3 units then would be multipled by
4.23.
On the even numbers it would be easier.

Sorry i can see this is a lot more difficult than i originally thought.
Thanks for the help



"Mike H" wrote:

Neil,

I don't understand.

If the 1/2 of A1 is rounded up then you could get spurious results.
For example:-

A1=5
B1=3

Half of A1 prior to rounding up passes your test of B1 being greater than
the value of 1/2 A1 but if the result is rounded to 3 then it fails that
test.

Mike

"Neil" wrote:


Thanks Mike that works the only thing is i would like to round the half
values up. So
So if A1 =5 units and B1 =3 units in C1 i get 2.12. Iwould like to get
this
figure to round up so i only get full price (4.23).

Thanks Again


"Mike H" wrote:

Maybe:-

=IF(B1-(A1/2)<=0,"",(B1-(A1/2))*4.23)

Mike

"Neil" wrote:

Hi

I have a three columns . In Cell A1i have 4 Units and in B1 i have
3 units.
I would like cell C1 to show the value of what ever number is left
over from
cell B1 if it is more than half the value of A1. So in this case i
have 4/2 =
2 So cell B2 being 3 is 1 over half of A1. so that figure would be
multiply
by 4.23 so C1 =4.23.
If the value of B1 matches half or is below half the value of A1 it
would
ignore the number.

Many thanks

Neil



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Split by half month AlanStotty Excel Discussion (Misc queries) 1 March 13th 07 12:24 PM
Split by half month AlanStotty Excel Discussion (Misc queries) 2 March 13th 07 12:08 PM
HOW DO I SPLIT ONE CELL IN HALF WITHIN ONE ROW? Blondie Excel Discussion (Misc queries) 4 October 10th 06 03:52 AM
fill circle half way maverick3 Excel Discussion (Misc queries) 2 March 31st 06 09:21 AM
Countif that can i half Joel Excel Discussion (Misc queries) 1 January 5th 06 08:18 PM


All times are GMT +1. The time now is 09:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"