+ Reply to Thread
Results 1 to 11 of 11

Averages and vlookup solution?

  1. #1
    Registered User
    Join Date
    08-28-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Averages and vlookup solution?

    I just can’t get passed nested if statements.

    Can anyone help solve my attached problem?

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Averages and vlookup solution?

    Are you looking to interpolate or find the intersect ?

    (ie are the values in M3 & M5 to be exact matches to the header values in the table)

  3. #3
    Registered User
    Join Date
    08-28-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Averages and vlookup solution?

    Woops, forgot to sepcify that.

    M3 may not be an exact match.

    For example, a input into M3 may be "0.22" but would fall into the "D" column.

    Input into "M5" will always fall into rows 5 to 11.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,006

    Re: Averages and vlookup solution?

    Something like this:
    Attached Files Attached Files
    Never use Merged Cells in Excel

  5. #5
    Registered User
    Join Date
    08-28-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Averages and vlookup solution?

    Thats great!

    Thanks guys!

  6. #6
    Registered User
    Join Date
    08-28-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Averages and vlookup solution?

    I have tried to mimic the formula in cell R7 supplied by zbor, in R25

    But can't seem to nail it

    Anyone?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-28-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Averages and vlookup solution?

    I’m still trying to finish this formula.

    Just can’t seem to get over the line,

    Can anyone help?
    Attached Files Attached Files

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Averages and vlookup solution?

    Not entirely sure I follow but perhaps the INDEX element you're looking for is along the lines of:

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-28-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Averages and vlookup solution?

    Thanks for the help.

    That’s allmost it, but it doesn't seem to quite work with land descriptions "2" and "3"

    For example if I have a land description of "2" in cell R21 on the attached,

    and a soil permeability of "medium" IN R23 - it should return a vale of "0.32" from cell "i25"

    Any ideas?
    Attached Files Attached Files

  10. #10
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Averages and vlookup solution?

    I did not notice that you have an inconsistent number of columns in each sub table... (1) uses 3 columns [D:F], (2) [G:J] and (3) [K:N] both use 4 columns and merged cells (best avoided)

    Goes without saying that a consistent layout generally simplifies the calculations.

    Let me know if you are going to modify the tables so that they are consistent (advised - and this means removed the merged cells) or you intend to leave as they are.

  11. #11
    Registered User
    Join Date
    08-28-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Averages and vlookup solution?

    That fixed it, Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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