VaultNetwork.net Vault Network Boards
Author Topic: need some excel help if u can shed light [Locked]
mightbe  3 stars
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
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-----
me for mod!
Misbeller of mightbe
I love me love i you
Go..VO..GO...
I God of miself.
Rhodoman  4 stars
Posts: 1,397
Registered: 2001-6-14 21:02:19
=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  3 stars
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
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-----
me for mod!
Misbeller of mightbe
I love me love i you
Go..VO..GO...
I God of miself.
mightbe  3 stars
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
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-----
me for mod!
Misbeller of mightbe
I love me love i you
Go..VO..GO...
I God of miself.
Rhodoman  4 stars
Posts: 1,397
Registered: 2001-6-14 21:02:19
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  3 stars
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
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-----
me for mod!
Misbeller of mightbe
I love me love i you
Go..VO..GO...
I God of miself.
Sith_Mauler  4 stars
Posts: 1,851
Registered: 2002-12-21 13:40:03
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  4 stars
Posts: 1,397
Registered: 2001-6-14 21:02:19
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
ArchrikerHG  2 stars
Posts: 403
Registered: 2004-2-20 14:24:08
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  3 stars
Title: lalalalalalalalalalalalalalalalalalalalalalalalala
Posts: 864
Registered: 2003-7-21 12:49:15
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-----
me for mod!
Misbeller of mightbe
I love me love i you
Go..VO..GO...
I God of miself.

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.