+ Reply to Thread
Results 1 to 9 of 9

Dont even know where to start, maybe an if??

  1. #1
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2016
    Posts
    134

    Dont even know where to start, maybe an if??

    Hello.

    trying to design a spread sheet to help my calculate body shapes.

    I’m struggling with the last part.

    See attached sheet, where HWR = height/cube root of weight.

    on the sheet I’ve copy and pasted the formula from the research paper.

    essentially, if HWB equals X then X needs to be......(an equation)
    if HWB equals Y then Y needs to be ....(a different equation)

    Ecto.xls

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Dont even know where to start, maybe an if??

    =if(c7<=38.25,0.1,if(c7<40.75,0.463,0.732))
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    08-04-2014
    Location
    Riga
    MS-Off Ver
    2010
    Posts
    579

    Re: Dont even know where to start, maybe an if??

    I didn't understand the calculations needed, but I believe you need a formula like this:

    =IF(C7>=40.75;0.732-28.58;IF(AND(C7<40.75;C7>38.25);0.463-17.63;0.1))

  4. #4
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Dont even know where to start, maybe an if??

    So you essentially have it...just nest the ifs and replace English for operators...

    IF(LOGIC,TRUE,FALSE)
    Multi IF
    IF(Logic,TRUE,IF(Logic,TRUE,IF(Logic,TRUE,FALSE)))
    You will notice that the nested IF becomes the FALSE of the preceding IF, only one final FALSE comes at the end.

    Took a look at what you were playing with... something like this (That is if I read your sheet/formulas right)
    Please Login or Register  to view this content.
    -If you think you are done, Start over - ELeGault

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Dont even know where to start, maybe an if??

    Double (nested) IF would do. Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    As two of previous answers (first was free of that problem ;-)):

    Once you check first condition (like x<some constant and it has shown to be false, then in nested if you dont have to check AND(x>=someconstant, x<other constant) because for sure x>=someconstant
    Otherwise in first IF the condition would be true and second if would not execute
    Last edited by Kaper; 02-20-2015 at 05:50 AM.
    Best Regards,

    Kaper

  6. #6
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Dont even know where to start, maybe an if??

    haha - take your pick

  7. #7
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2016
    Posts
    134

    Re: Dont even know where to start, maybe an if??

    I will. thanks all (just going to see how i get on first)

  8. #8
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2016
    Posts
    134

    Re: Dont even know where to start, maybe an if??

    another question on a related note.

    if X = 72.27 and the follwing applies

    = 07182 + 0.145X - 0.00068X2 + 0.0000014X3

    does that become

    = = 07182 + 0.14572 - 0.00068722 + 0.0000014723

    and, if so, can you get excel to intert a cell vlaue in the middle of a number like the above?

  9. #9
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2016
    Posts
    134

    Re: Dont even know where to start, maybe an if??

    ignore that

+ 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. EXCEL COMPARING with EACH OTHER IN SAME RANGE
    By mistrymah in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2014, 04:42 AM
  2. Why dont we start discussion on renewable Energy sources?
    By synodbio in forum The Water Cooler
    Replies: 22
    Last Post: 12-18-2013, 05:45 AM
  3. [SOLVED] Copy variable amount of rows between Start and End to Start
    By EDo1981 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2013, 07:37 AM
  4. Replies: 1
    Last Post: 12-14-2009, 05:20 PM
  5. Replies: 0
    Last Post: 05-06-2006, 04:35 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