| Author |
Topic:
need some excel help if u can shed light
[Locked] |
mightbe
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
alright
here are my cells
High Temp:
Low Temp:
then i have to other cells
Growing Degree day high
Growing degree day low
now for growing degree day high, if the high temp is above 86, i want the growing degree day to be only 86. example i imput 95 into high temp and the data is then put into growing degree day high of 86 but not 95
now for growing degree day low, if the low temp is below 50, i want the growing degree day to be only 50. example i input 45 into low temp and the data is then put into growing degree day low of 50 instead of 45
and finally temperatures that fall between 50 and 86 are recorded as is.
so example
High Temp:90
Low Temp:45
GDD High:86
GDD Low:50
example 2:
High Temp:75
Low Temp:55
GDD High: 75
GDD Low: 55
-----signature-----
|
Rhodoman
Posts: 1,397
Registered: 2001-6-14 21:02:19
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
=If(AddressOfCellWithRealTempInput > 86, 86, AddressOfCellWithRealTempInput) or =If(<expression>, <value-if-true>, <value-if-false>
Repeat and fade.
Rho
-----signature-----
Rho is correct. - Varece
Venit hiems quidquid Latine dictum sit altum viditur
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
|
mightbe
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
mightbe posted:
alright
here are my cells
High Temp:
Low Temp:
then i have to other cells
Growing Degree day high
Growing degree day low
now for growing degree day high, if the high temp is above 86, i want the growing degree day to be only 86. example i imput 95 into high temp and the data is then put into growing degree day high of 86 but not 95
now for growing degree day low, if the low temp is below 50, i want the growing degree day to be only 50. example i input 45 into low temp and the data is then put into growing degree day low of 50 instead of 45
also if no input is put in for a high temp or low temp the gdd temp will read 50
and finally temperatures that fall between 50 and 86 are recorded as is.
so example
High Temp: 0
Low Temp:0
GDD High: 50
GDD low: 50
High Temp:90
Low Temp:45
GDD High:86
GDD Low:50
example 2:
High Temp:75
Low Temp:55
GDD High: 75
GDD Low: 55
-----signature-----
|
mightbe
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
Rhodoman posted:
=If(AddressOfCellWithRealTempInput > 86, 86, AddressOfCellWithRealTempInput) or =If(<expression>, <value-if-true>, <value-if-false>
Repeat and fade.
Rho
thanks rho but is there also a way to include that if 0 temp is given for the day the gdd temp will be set at 50
-----signature-----
|
Rhodoman
Posts: 1,397
Registered: 2001-6-14 21:02:19
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
mightbe posted:
Rhodoman posted:
=If(AddressOfCellWithRealTempInput > 86, 86, AddressOfCellWithRealTempInput) or =If(<expression>, <value-if-true>, <value-if-false>
Repeat and fade.
Rho
thanks rho but is there also a way to include that if 0 temp is given for the day the gdd temp will be set at 50
Nest 'em.
Rho
-----signature-----
Rho is correct. - Varece
Venit hiems quidquid Latine dictum sit altum viditur
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
|
mightbe
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
Rhodoman posted:
mightbe posted:
[quote=Rhodoman or =If(<expression>, <value-if-true>, <value-if-false>
Repeat and fade.
Rho
thanks rho but is there also a way to include that if 0 temp is given for the day the gdd temp will be set at 50
Nest 'em.
Rho
no idea what nestem means or is it
=If(AddressOfCellWithRealTempInput > 86, 86, AddressOfCellWithRealTempInput)
-----signature-----
|
Sith_Mauler
Posts: 1,851
Registered: 2002-12-21 13:40:03
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
screw excel
i hate that program with a passion.
-----signature-----
Well I ain't first class
But I ain't white trash
I'm wild and a little crazy too
I have seen a lot of things in my life time.
That is why I walk the line I walk.
|
Rhodoman
Posts: 1,397
Registered: 2001-6-14 21:02:19
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
Okie.
Say you never want it to be above 86 or below 50.
You put the REAL temperature into cell B15
In the cell you want to always be between 50 and 86, you put:
=If ( B15 > 86, 86, If( B15 < 50, 50, B15) )
One "If" formula nested inside the other.
Rho
-----signature-----
Rho is correct. - Varece
Venit hiems quidquid Latine dictum sit altum viditur
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
|
|
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
I could tell you how to do it in Java, but not in VB which I think is what excel uses.
-----signature-----
Soo... useless boobs run the world eh?
Sounds about right actually-Alkizmo
The jewel sequins, Hollywood designer clothes and makeup, and flashing LED panorama really
capture the dark cynical hopelessness of the grunge era -Vega
Archriker lvl 250 ret.
|
mightbe
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
|
Date Posted:
1/1/00 12:00am
Subject:
need some excel help if u can shed light
|
Rhodoman posted:
Okie.
Say you never want it to be above 86 or below 50.
You put the REAL temperature into cell B15
In the cell you want to always be between 50 and 86, you put:
=If ( B15 > 86, 86, If( B15 < 50, 50, B15) )
One "If" formula nested inside the other.
Rho
=If(C20 > 86, 86, If( C20 = 0, 50, C20) ?
-----signature-----
|