+ Reply to Thread
Results 1 to 4 of 4

Convert inches to mm in column with 'Tr' also getting displayed.

  1. #1
    Registered User
    Join Date
    12-28-2021
    Location
    Southend, England
    MS-Off Ver
    365
    Posts
    56

    Question Convert inches to mm in column with 'Tr' also getting displayed.

    I'm currently adding local weather data which is hand written into an excel spreadsheet. This data is from 1915 to 1930.

    The rainfall is recorded 'inches' at 9am and 3pm which added together = 24 hours.

    I can add them together and convert to mm simply by multiplying the sum of the two (9am+3pm) by 25.4.

    I have one anomaly I can't resolve some days just a 'Trace' is recorded 'Tr' which I want shown as 'Tr'.
    If 'Tr' is in 9am or 15pm I want to return 'Tr'
    If 'Tr' is in both 9am and 15pm I again want to return 'Tr'
    If a value is in one or the other that 'Tr' is reported, that value stands.

    I have attached a stripped down version of my spreadsheet where I have hand shown in column 'J' the end result I'm trying to acheive.
    I've probably made this more complicated than it needs to be as well :-)

    Many thanks

    Keith (Southend)
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Convert inches to mm in column with 'Tr' also getting displayed.

    Try:

    =LET(v,IFERROR(1/(1/(E5:E35*25.4)),""),IF(v<>"",v,BYROW(C5:E35,LAMBDA(x,TEXTJOIN(,,,T(+x))))))

    format as number and set dps as required.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    12-28-2021
    Location
    Southend, England
    MS-Off Ver
    365
    Posts
    56

    Re: Convert inches to mm in column with 'Tr' also getting displayed.

    Thank you Glen, you both solved and simplified my anomaly.

    Kind regards

    Keith (Southend)
    Ps: I'll tick the other boxes, so to speak :-)

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Convert inches to mm in column with 'Tr' also getting displayed.

    Woo Hoo! Thanks for the feedback.

+ 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] Convert feet, inches, fractions to inches and decimals
    By bjohnsonac in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-03-2021, 12:08 PM
  2. Convert Inches Decimal to Inches w/ 16ths
    By slade8200 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-09-2020, 02:29 PM
  3. [SOLVED] Convert inches to feet and inches (indirect function).
    By gannon_w in forum Excel General
    Replies: 7
    Last Post: 08-28-2019, 07:09 PM
  4. [SOLVED] Convert decimal inches to fractional inches
    By Dowjd in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-08-2016, 04:48 PM
  5. Convert inches to feet and inches
    By emkramp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-30-2013, 10:39 AM
  6. How to convert Height column into inches?
    By yes sir in forum Access Tables & Databases
    Replies: 1
    Last Post: 08-24-2010, 09:23 AM
  7. [SOLVED] is there a macro that will convert from inches to feet and inches
    By cable guy in forum Excel General
    Replies: 1
    Last Post: 06-20-2005, 03:05 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