+ Reply to Thread
Results 1 to 3 of 3

Struggling with IFERROR, Conversions and general equating.

  1. #1
    Registered User
    Join Date
    10-17-2018
    Location
    Plymouth
    MS-Off Ver
    Excel 2021
    Posts
    96

    Struggling with IFERROR, Conversions and general equating.

    Hello on the spreadsheet posted you will see I have a cardio, resistance and bodyweight tables and a calculations page.

    1.On the CARDIOEX table I would like it so that I could write in either of the GPS co-ordinates columns (Km or Mi) and have them automatically convert to the other so that I can have both bits of information. also in the time section whenever I enter a time (45 mins for example) it always tries to put it in a date and time format whatever I do.

    2. I would then like it to convert the distance and time in to pace (time/distance) for both Km and miles in the respective boxes without div/0 errors in unfilled boxes.

    I couldn't wrap my head around those so this one is truly defeating me.

    3. I would like to log the amount of calories burned for particular exercises.

    That requires Calories (Kcal) = METS x weight (kg) x time (hours)

    a)METS - The respective exercises MET value can be found on the calculations sheet.

    b) I would like my weight to be the weight that is logged for the date (or nearest to that date) that is logged on personal details sheet

    Thanks.

    C) some METS values work purely on time some on pace and time you will see this in the cardio table.


    Please let me know if you need more info.
    Last edited by aabbey; 10-26-2018 at 06:45 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,293

    Re: Struggling with IFERROR, Conversions and general equating.

    Where in the workbook do you want these things to appear? Can you please do a manual mock-up in the workbook, highlight where the mock-ups are and post it again?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

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

    Re: Struggling with IFERROR, Conversions and general equating.

    1a) Excel can store either a number or a formula in a cell, but not both. Getting two cells to "mirror" each other where either cell can be used as input is not achievable with spreadsheet functions alone. It is relatively easy to do with a macro, but you must decide if you want to use a macro or limit yourself to spreadsheet functions. If you are willing to use a macro, we have lots of examples here and across the internet (put something like "have excel cells mirror each other" into your favorite internet search engine). Let us know how we can help.
    1b) I don't understand exactly what trouble you are having with your time entry. If you try to enter something that Excel can recognize as hh:mm:ss, then it will automatically turn that number into a date/time serial number. To my knowledge, there is no good way to stop Excel from doing this. If you want a cell to contain the number 45, it seems like it should be as simple as entering 45 into the cell, and Excel should not try to change that.
    2) Once you figure out the data entry parts of step 1, step 2 seems like simple division functions. To avoid the Div/0 errors, simply include those divisions inside of an IF() function of some kind =IF(inputcell=0,"",divisionformula)
    3) Also looks like a simple multiplication formula. The METS looks like it would be a lookup function of its own (VLOOKUP() help file: https://support.office.com/en-us/art...8-93a18ad188a1 ). The weight might also be a lookup formula, it's not clear to me. You appear to want to enter your time in minutes, so the time part will need to be converted from minutes to hours (the CONVERT() function may be useful here: https://support.office.com/en-us/art...d-666c810f9af2 ).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Automated Accounting System in posting to General Ledger from General Journal
    By Angelika_D15 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-31-2016, 02:08 AM
  2. Help with formula to sum 2 columns before equating
    By mecexcel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-12-2015, 05:25 PM
  3. [SOLVED] Equating an array with named range: is this possible?
    By Erik_G in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-22-2015, 04:28 PM
  4. Equating ranges
    By tibetors in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-30-2013, 05:54 AM
  5. Replies: 1
    Last Post: 10-03-2013, 03:58 PM
  6. xlfn.IFERROR or IFERROR don't work in Excel 98-2003
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 02:53 AM
  7. sum not equating to parts
    By tinkerbelle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-10-2007, 05:26 AM

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