+ Reply to Thread
Results 1 to 7 of 7

Converting temperature data

  1. #1
    Registered User
    Join Date
    06-10-2014
    Location
    Kansas City, MO
    MS-Off Ver
    Microsoft Office 365
    Posts
    36

    Converting temperature data

    I have some high/low temperatures data in the following form:
    101°/78°
    81°/63°
    25°/9°

    I would like the high and low to be numbers in separate cells. I came up with these formulas, but they work only if both temperatures are 2 digits:
    =VALUE(LEFT(A1,2))
    =VALUE(MID(A1,5,2))

    I need a formula that works for all of the above examples. Using Excel 97. Thanks.

    Ken

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Converting temperature data

    Enter formula in cell B1 and pull to C1 and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C
    1 101°/78° 101° 78°
    2 81°/63° 81° 63°
    3 25°/9° 25°
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,719

    Re: Converting temperature data

    In B1 type =LEFT(A1,FIND("/",A1)-1) and copy down
    In C1 type =RIGHT(A1,LEN(A1)-FIND("/",A1)) and copy down
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,406

    Re: Converting temperature data

    Do you have to use Excel? This would be really easy in Google Sheets using Google's SPLIT() function: https://support.google.com/docs/answer/3094136?hl=en
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    06-10-2014
    Location
    Kansas City, MO
    MS-Off Ver
    Microsoft Office 365
    Posts
    36

    Re: Converting temperature data

    Thanks for the replies. I wanted the results to not include the degree sign,
    but was able to modify alansidman's formulas to accomplish that. Appreciate the help!

    Ken

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Converting temperature data

    Here is a modified version without degree sign
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Converting temperature data

    Or these
    in B1
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    in C1
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Simplifying Thousands of Temperature data points to 10-15 "Average" Intervals
    By kpb61 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-05-2016, 08:44 AM
  2. Temperature data versus Date.time
    By porourkey in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-29-2016, 01:06 PM
  3. How to best graph temperature and length, 10 trials and 20 data points?
    By Brad_in_FL in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-10-2016, 01:54 AM
  4. Converting multiple columns to rows / Converting to Panel Data
    By Stuart11 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-14-2013, 05:50 AM
  5. Charting Temperature vs Data and Time
    By kavanaa1 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-19-2013, 04:34 AM
  6. How to find high and low temperature cycles in a column of temperature data
    By landwanderer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-13-2012, 11:14 AM
  7. If temperature is <# ># then #
    By lasto in forum Excel General
    Replies: 4
    Last Post: 05-21-2009, 04:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1