+ Reply to Thread
Results 1 to 6 of 6

Needing help with "IF" function please.

  1. #1
    Registered User
    Join Date
    01-06-2013
    Location
    US
    MS-Off Ver
    Libre Office, Excel 2003, 2007, Kingsoffice, Polaris Office
    Posts
    5

    Question Needing help with "IF" function please.

    Hey guys,

    Thanks for taking the time to read and help out with this problem I been having
    I've created multiple spreadsheets and databases but I am having some serious trouble with this one

    I have two work sheets

    First sheet are materials such as metals, liquid, and etc. It list the velocity at which sound travels through a particular material.
    Second sheet are calculations.

    Pretty much what I want to do is something like `=IF(D34=Materials.A3:A49,Materials.B3:B49)
    This obviously doesn't work

    What I want to do is be able to type in the material into a cell and have the velocity inputted into the cell below it

    I've done long nest of If statements and it seems I can't add more into the one cell
    So I figured I'd come to the pros

    Any help will do

    Thanks
    JoshUntitled.jpgUntitled1.jpg

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Needing help with "IF" function please.

    you have
    Libre Office
    you should post here
    http://www.excelforum.com/for-other-...mobile-os-etc/
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    01-06-2013
    Location
    US
    MS-Off Ver
    Libre Office, Excel 2003, 2007, Kingsoffice, Polaris Office
    Posts
    5

    Re: Needing help with "IF" function please.

    I understand what program I am using
    In fact I have multiple excel programs
    including Microsoft

    What I am asking for is help with a code

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Needing help with "IF" function please.

    I think Martin was suggesting that that link might be a better place to go and ask for the help you want. I am sure he knows that you are perfectly aware of what program you are using.

    Having said that, have you tried to put the info into a 2-columnb table some where and then use a vlookup to return the velocity you want?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Needing help with "IF" function please.

    libre office is not excel and solutions posted for excel may not work..the delimiters are different,arrays don't transfer across properly,the same applies to open office and google docs.in this case as fdibbins said a vlookup will probably work fine

  6. #6
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Needing help with "IF" function please.

    you could probably do an Index(match to get the result--something like:
    =Index(Materials!$A$3:$G$49,Match($D$34,Materials!$A$3:$A$49,0),2)

    not sure of the syntax in Libre, so that may have to be adjusted,and I'm not sure of the ranges ,as it is very hard to see on the screen shot
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

+ 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