Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Help with a conditional formula using ranges

I need help creating a conditional formula and I can't find anything out
there for my specific situation. I'll break this out into two seperate parts
for understandability. In cell a1 I have the value 908,135,661.64. I want to
create a conditional formula that states if the value of a1 is from 0 to 631,
107,002.36 then return a value of 2. If the value is from 631,107,002.37 to
787,270,260.17 then return a value of 1. If the value is greater than 787,270,
260.17 then return a value of 3.

The second part of this is that I have a value of 246 in cell b1 and 660 in
c1. For cell b1 I want to give a conditional formula that states values from
0 to 147 return a value of 2, 148 to 214 returns 1, and 215 and greater
returns 3. For cell c1, values from 0 to 529 returns 2, values from 530 to
738 returns 1, and values 738 and greater returns 3. Once I get the values
for cells a1, b1, and c1 I am going to average the three together. It would
be nice if I could create a long formula and do the entire calculation in one
step, but if I need to create three seperate formulas and calculate the
average in another cell that would be acceptable.

The average part is going to be easy (I think), but where I'm having trouble
is coming up with the conditional formula. I've been able to start a
conditional formula that will return a true or false value if the range for
cell a1 is between 631,107,002.37 to 787,270,260.17, but I think I may be
going down the wrong road because I can't get it to return the correct value.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default Help with a conditional formula using ranges

in D1
=IF(A1<=631,107,002.36,2,IF(AND(A1631,107,002.36, A1<=787,270,260.17),1,IF(A1787,270,260.17,3,"")))

in E1
=IF(B1<=147,2,IF(AND(B1147,B1<=214),1,IF(B1214,3 ,"")))

in F1
=IF(C1<=529,2,IF(AND(C1529,C1<=738),1,IF(C1738,3 ,"")))

in G1
=AVERAGE(D1,E1,F1)


hope this helps.



"cabana_boy" <u43066@uwe wrote in message news:830596d49ce14@uwe...
I need help creating a conditional formula and I can't find anything out
there for my specific situation. I'll break this out into two seperate
parts
for understandability. In cell a1 I have the value 908,135,661.64. I want
to
create a conditional formula that states if the value of a1 is from 0 to
631,
107,002.36 then return a value of 2. If the value is from 631,107,002.37
to
787,270,260.17 then return a value of 1. If the value is greater than
787,270,
260.17 then return a value of 3.

The second part of this is that I have a value of 246 in cell b1 and 660
in
c1. For cell b1 I want to give a conditional formula that states values
from
0 to 147 return a value of 2, 148 to 214 returns 1, and 215 and greater
returns 3. For cell c1, values from 0 to 529 returns 2, values from 530 to
738 returns 1, and values 738 and greater returns 3. Once I get the values
for cells a1, b1, and c1 I am going to average the three together. It
would
be nice if I could create a long formula and do the entire calculation in
one
step, but if I need to create three seperate formulas and calculate the
average in another cell that would be acceptable.

The average part is going to be easy (I think), but where I'm having
trouble
is coming up with the conditional formula. I've been able to start a
conditional formula that will return a true or false value if the range
for
cell a1 is between 631,107,002.37 to 787,270,260.17, but I think I may be
going down the wrong road because I can't get it to return the correct
value.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default Help with a conditional formula using ranges

corrections

=IF(A1="","",IF(A1<=631107002.36,2,IF(AND(A163110 7002.36,A1<=787270260.17),1,IF(A1787270260.17,3," "))))

=IF(B1="","",IF(B1<=147,2,IF(AND(B1147,B1<=214),1 ,IF(B1214,3,""))))

=IF(C1="","",IF(C1<=529,2,IF(AND(C1529,C1<=738),1 ,IF(C1738,3,""))))

=AVERAGE(D1,E1,F1)


"Gaurav" wrote in message
...
in D1
=IF(A1<=631107002.36,2,IF(AND(A1631107002.36,A1<= 787270260.17),1,IF(A1787270260.17,3,"")))

in E1
=IF(B1<=147,2,IF(AND(B1147,B1<=214),1,IF(B1214,3 ,"")))

in F1
=IF(C1<=529,2,IF(AND(C1529,C1<=738),1,IF(C1738,3 ,"")))

in G1
=AVERAGE(D1,E1,F1)


hope this helps.



"cabana_boy" <u43066@uwe wrote in message news:830596d49ce14@uwe...
I need help creating a conditional formula and I can't find anything out
there for my specific situation. I'll break this out into two seperate
parts
for understandability. In cell a1 I have the value 908,135,661.64. I want
to
create a conditional formula that states if the value of a1 is from 0 to
631,
107,002.36 then return a value of 2. If the value is from 631,107,002.37
to
787,270,260.17 then return a value of 1. If the value is greater than
787,270,
260.17 then return a value of 3.

The second part of this is that I have a value of 246 in cell b1 and 660
in
c1. For cell b1 I want to give a conditional formula that states values
from
0 to 147 return a value of 2, 148 to 214 returns 1, and 215 and greater
returns 3. For cell c1, values from 0 to 529 returns 2, values from 530
to
738 returns 1, and values 738 and greater returns 3. Once I get the
values
for cells a1, b1, and c1 I am going to average the three together. It
would
be nice if I could create a long formula and do the entire calculation in
one
step, but if I need to create three seperate formulas and calculate the
average in another cell that would be acceptable.

The average part is going to be easy (I think), but where I'm having
trouble
is coming up with the conditional formula. I've been able to start a
conditional formula that will return a true or false value if the range
for
cell a1 is between 631,107,002.37 to 787,270,260.17, but I think I may be
going down the wrong road because I can't get it to return the correct
value.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Help with a conditional formula using ranges

Awsome!!! Thanks so much!!!

Gaurav wrote:
in D1
=IF(A1<=631,107,002.36,2,IF(AND(A1631,107,002.36 ,A1<=787,270,260.17),1,IF(A1787,270,260.17,3,"")) )

in E1
=IF(B1<=147,2,IF(AND(B1147,B1<=214),1,IF(B1214, 3,"")))

in F1
=IF(C1<=529,2,IF(AND(C1529,C1<=738),1,IF(C1738, 3,"")))

in G1
=AVERAGE(D1,E1,F1)

hope this helps.

I need help creating a conditional formula and I can't find anything out
there for my specific situation. I'll break this out into two seperate

[quoted text clipped - 31 lines]
going down the wrong road because I can't get it to return the correct
value.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Help with a conditional formula using ranges

Why are you doing all those fruitless extra tests, Gaurav?
What's wrong with
=IF(A1="","",IF(A1<=631107002.36,2,IF(A1<=78727026 0.17,1,3)))
=IF(B1="","",IF(B1<=147,2,IF(B1<=214,1,3)))
=IF(C1="","",IF(C1<=529,2,IF(C1<=738,1,3))) ?
--
David Biddulph

"Gaurav" wrote in message
...
corrections

=IF(A1="","",IF(A1<=631107002.36,2,IF(AND(A163110 7002.36,A1<=787270260.17),1,IF(A1787270260.17,3," "))))

=IF(B1="","",IF(B1<=147,2,IF(AND(B1147,B1<=214),1 ,IF(B1214,3,""))))

=IF(C1="","",IF(C1<=529,2,IF(AND(C1529,C1<=738),1 ,IF(C1738,3,""))))

=AVERAGE(D1,E1,F1)


"Gaurav" wrote in message
...
in D1
=IF(A1<=631107002.36,2,IF(AND(A1631107002.36,A1<= 787270260.17),1,IF(A1787270260.17,3,"")))

in E1
=IF(B1<=147,2,IF(AND(B1147,B1<=214),1,IF(B1214,3 ,"")))

in F1
=IF(C1<=529,2,IF(AND(C1529,C1<=738),1,IF(C1738,3 ,"")))

in G1
=AVERAGE(D1,E1,F1)


hope this helps.



"cabana_boy" <u43066@uwe wrote in message news:830596d49ce14@uwe...
I need help creating a conditional formula and I can't find anything out
there for my specific situation. I'll break this out into two seperate
parts
for understandability. In cell a1 I have the value 908,135,661.64. I
want to
create a conditional formula that states if the value of a1 is from 0 to
631,
107,002.36 then return a value of 2. If the value is from 631,107,002.37
to
787,270,260.17 then return a value of 1. If the value is greater than
787,270,
260.17 then return a value of 3.

The second part of this is that I have a value of 246 in cell b1 and 660
in
c1. For cell b1 I want to give a conditional formula that states values
from
0 to 147 return a value of 2, 148 to 214 returns 1, and 215 and greater
returns 3. For cell c1, values from 0 to 529 returns 2, values from 530
to
738 returns 1, and values 738 and greater returns 3. Once I get the
values
for cells a1, b1, and c1 I am going to average the three together. It
would
be nice if I could create a long formula and do the entire calculation
in one
step, but if I need to create three seperate formulas and calculate the
average in another cell that would be acceptable.

The average part is going to be easy (I think), but where I'm having
trouble
is coming up with the conditional formula. I've been able to start a
conditional formula that will return a true or false value if the range
for
cell a1 is between 631,107,002.37 to 787,270,260.17, but I think I may
be
going down the wrong road because I can't get it to return the correct
value.









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default Help with a conditional formula using ranges

May be fruitless but thats what i could think of when nobody replied to the
post and it did help the OP.

Thanks for the enlightenment, David. I appreciate it.


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Why are you doing all those fruitless extra tests, Gaurav?
What's wrong with
=IF(A1="","",IF(A1<=631107002.36,2,IF(A1<=78727026 0.17,1,3)))
=IF(B1="","",IF(B1<=147,2,IF(B1<=214,1,3)))
=IF(C1="","",IF(C1<=529,2,IF(C1<=738,1,3))) ?
--
David Biddulph

"Gaurav" wrote in message
...
corrections

=IF(A1="","",IF(A1<=631107002.36,2,IF(AND(A163110 7002.36,A1<=787270260.17),1,IF(A1787270260.17,3," "))))

=IF(B1="","",IF(B1<=147,2,IF(AND(B1147,B1<=214),1 ,IF(B1214,3,""))))

=IF(C1="","",IF(C1<=529,2,IF(AND(C1529,C1<=738),1 ,IF(C1738,3,""))))

=AVERAGE(D1,E1,F1)


"Gaurav" wrote in message
...
in D1
=IF(A1<=631107002.36,2,IF(AND(A1631107002.36,A1<= 787270260.17),1,IF(A1787270260.17,3,"")))

in E1
=IF(B1<=147,2,IF(AND(B1147,B1<=214),1,IF(B1214,3 ,"")))

in F1
=IF(C1<=529,2,IF(AND(C1529,C1<=738),1,IF(C1738,3 ,"")))

in G1
=AVERAGE(D1,E1,F1)


hope this helps.



"cabana_boy" <u43066@uwe wrote in message news:830596d49ce14@uwe...
I need help creating a conditional formula and I can't find anything out
there for my specific situation. I'll break this out into two seperate
parts
for understandability. In cell a1 I have the value 908,135,661.64. I
want to
create a conditional formula that states if the value of a1 is from 0
to 631,
107,002.36 then return a value of 2. If the value is from
631,107,002.37 to
787,270,260.17 then return a value of 1. If the value is greater than
787,270,
260.17 then return a value of 3.

The second part of this is that I have a value of 246 in cell b1 and
660 in
c1. For cell b1 I want to give a conditional formula that states values
from
0 to 147 return a value of 2, 148 to 214 returns 1, and 215 and greater
returns 3. For cell c1, values from 0 to 529 returns 2, values from 530
to
738 returns 1, and values 738 and greater returns 3. Once I get the
values
for cells a1, b1, and c1 I am going to average the three together. It
would
be nice if I could create a long formula and do the entire calculation
in one
step, but if I need to create three seperate formulas and calculate the
average in another cell that would be acceptable.

The average part is going to be easy (I think), but where I'm having
trouble
is coming up with the conditional formula. I've been able to start a
conditional formula that will return a true or false value if the range
for
cell a1 is between 631,107,002.37 to 787,270,260.17, but I think I may
be
going down the wrong road because I can't get it to return the correct
value.









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
Conditional Named Ranges Tevuna Excel Worksheet Functions 2 September 5th 07 02:58 PM
Conditional formatting date ranges arkmpr Excel Worksheet Functions 1 January 19th 07 08:24 PM
Conditional Formatting - date ranges Angela Excel Discussion (Misc queries) 3 November 2nd 05 03:36 PM
Ranges within Conditional Formatting Ryno Excel Discussion (Misc queries) 4 December 14th 04 12:47 AM
Conditional Formula to search ranges?? adean Excel Discussion (Misc queries) 2 December 13th 04 10:53 PM


All times are GMT +1. The time now is 03:00 AM.

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

About Us

"It's about Microsoft Excel"