uk.sci.weather (UK Weather) (uk.sci.weather) For the discussion of daily weather events, chiefly affecting the UK and adjacent parts of Europe, both past and predicted. The discussion is open to all, but contributions on a practical scientific level are encouraged.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old March 16th 08, 09:58 AM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Jun 2006
Posts: 840
Default [OT] Excel help

This is realy simple to most but I'm struggling with it.

I have a column in an excel spreadsheet with numbers as follows:

0.99
1.04
1.03
1.04
1.04

What I want to show on the next column is either '0' or '1' depending on
whether the number is below 1 (0) or above 1 (1), wht formula can I put
in the column to the right of those numbers to produce that variable?

Many thanks
--
Keith (Southend)
http://www.southendweather.net
e-mail: kreh at southendweather dot net

  #2   Report Post  
Old March 16th 08, 10:04 AM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Jul 2003
Posts: 1,236
Default [OT] Excel help

Keith (Southend) wrote:

What I want to show on the next column is either '0' or '1' depending on
whether the number is below 1 (0) or above 1 (1), wht formula can I put
in the column to the right of those numbers to produce that variable?


=IF(A11,0,1)

Checks whether A1 is less than 1, if it is it inserts the value after the
first comma, otherwise inserts the value after the second comma.
--
Steve Loft
Sanday, Orkney. 5m ASL. http://sanday.org.uk/weather
Free weather station softwa http://sandaysoft.com/
uk.sci.weather FAQs/glossary/etc: http://weatherfaqs.org.uk/
  #3   Report Post  
Old March 16th 08, 10:06 AM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Aug 2003
Posts: 685
Default [OT] Excel help

Keith (Southend) wrote:

This is realy simple to most but I'm struggling with it.

I have a column in an excel spreadsheet with numbers as follows:

0.99
1.04
1.03
1.04
1.04

What I want to show on the next column is either '0' or '1' depending on
whether the number is below 1 (0) or above 1 (1), wht formula can I put
in the column to the right of those numbers to produce that variable?

Many thanks



Never used excel but int(cell) should work (it does in open office calc).


--
Brian Wakem
  #4   Report Post  
Old March 16th 08, 10:06 AM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Aug 2003
Posts: 28
Default [OT] Excel help

On Sun, 16 Mar 2008 10:58:16 +0000, "Keith (Southend)"
wrote:

This is realy simple to most but I'm struggling with it.

I have a column in an excel spreadsheet with numbers as follows:

0.99
1.04
1.03
1.04
1.04

What I want to show on the next column is either '0' or '1' depending on
whether the number is below 1 (0) or above 1 (1), wht formula can I put
in the column to the right of those numbers to produce that variable?

Many thanks


Assuming the data is in column A, then something like

=IF(A11,0,1)


The if function works like this

IF(logical_test,value_if_true,value_if_false)

So for the example above it effectively says

If Cell A1 is less than 1, then make the value 0, otherwise make it 1

HTH

Noz
  #5   Report Post  
Old March 16th 08, 10:15 AM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Jun 2006
Posts: 840
Default [OT] Excel help

Steve Loft wrote:
Keith (Southend) wrote:

What I want to show on the next column is either '0' or '1' depending on
whether the number is below 1 (0) or above 1 (1), wht formula can I put
in the column to the right of those numbers to produce that variable?


=IF(A11,0,1)

Checks whether A1 is less than 1, if it is it inserts the value after the
first comma, otherwise inserts the value after the second comma.


Wow, that was quick :-)

That does the job perfectly.

Many thanks

--
Keith (Southend)
http://www.southendweather.net
e-mail: kreh at southendweather dot net


  #6   Report Post  
Old March 16th 08, 11:00 AM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Feb 2007
Posts: 1,005
Default [OT] Excel help

Steve

As you seem to be in the 'know' on Excel issues, I would like to get Excel
to calculate how much a given reading is below or above the long-term
average. Like this example:

Mean Min LTA
7.0 6.5 +0.5
5.0 6.5 -1.5

If you get my drift....cheers.
_______________
Nick G
Otter Valley, Devon
83 m amsl
http://www.ottervalley.co.uk


  #7   Report Post  
Old March 16th 08, 11:22 AM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Dec 2007
Posts: 342
Default [OT] Excel help

Nick Gardner wrote:
Steve

As you seem to be in the 'know' on Excel issues, I would like to get Excel
to calculate how much a given reading is below or above the long-term
average. Like this example:

Mean Min LTA
7.0 6.5 +0.5
5.0 6.5 -1.5

If you get my drift....cheers.
_______________
Nick G
Otter Valley, Devon
83 m amsl
http://www.ottervalley.co.uk



Easy !
Let A1 = 7.0
Let B1 = 6.5
In cell C1 the formula would be =A1-B1


--
Joe Egginton
Wolverhampton
175m asl
  #8   Report Post  
Old March 16th 08, 12:07 PM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Feb 2007
Posts: 1,005
Default [OT] Excel help

Cheers Joe, I don't think I was putting my brain into gear this morning when
I posted that as it now seems so obvious.

The next problem doesn't seem that obvious to sort out:

Rain LTA %
77.0 64.3 ??

Also:

Pressure LTA
1015.5 1018.2 +/- ??? hPa


What formula would you put into the cells to give the ????

Thanks
________________
Nick G
Otter Valley, Devon
83 m amsl
http://www.ottervalley.co.uk


  #9   Report Post  
Old March 16th 08, 12:24 PM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Jul 2003
Posts: 1,236
Default [OT] Excel help

Nick Gardner wrote:

Rain LTA %
77.0 64.3 ??


If rain is in A1 and LTA is in B1:

=A1*B1/100

Pressure LTA
1015.5 1018.2 +/- ??? hPa


This is just the same as your first question, isn't it?

=A1-B1
--
Steve Loft
Sanday, Orkney. 5m ASL. http://sanday.org.uk/weather
Free weather station softwa http://sandaysoft.com/
uk.sci.weather FAQs/glossary/etc: http://weatherfaqs.org.uk/
  #10   Report Post  
Old March 16th 08, 12:25 PM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Jul 2003
Posts: 1,236
Default [OT] Excel help

Steve Loft wrote:

Nick Gardner wrote:

Rain LTA %
77.0 64.3 ??


If rain is in A1 and LTA is in B1:

=A1*B1/100


Whoops, wrong way round - should be

=A1/B1*100

--
Steve Loft
Sanday, Orkney. 5m ASL. http://sanday.org.uk/weather
Free weather station softwa http://sandaysoft.com/
uk.sci.weather FAQs/glossary/etc: http://weatherfaqs.org.uk/


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
Excel template for recording daily local weather. chipshop uk.sci.weather (UK Weather) 2 September 6th 11 03:29 PM
(OT) Excel help Ken Cook uk.sci.weather (UK Weather) 7 November 29th 10 07:44 PM
OT Excel ? Keith (Southend) uk.sci.weather (UK Weather) 5 October 20th 07 07:26 AM
O/T Excel Help Keith (Southend) uk.sci.weather (UK Weather) 9 February 20th 05 06:50 AM
Excel help :-) Keith (Southend) uk.sci.weather (UK Weather) 4 February 29th 04 06:21 PM


All times are GMT. The time now is 01:00 PM.

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

About Us

"It's about Weather"

 

Copyright © 2017