+ Reply to Thread
Results 1 to 6 of 6

if function

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    if function

    Dear sir
    Would you pleases help in me make the following function in excel sheet
    As you can see in my attached file
    In first row is 12 test name
    In second row is value I enter every time which have 7
    Probability (you can see in O3:R3 )
    In third row is the value need to be automatic filling for one of the probability
    Waiting your reply
    Thanks for your attention and help
    Regards
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-10-2015
    Location
    Ryton
    MS-Off Ver
    Office 2013
    Posts
    49

    Re: if function

    Not quite sure what you want to achieve

  3. #3
    Registered User
    Join Date
    05-10-2015
    Location
    Ryton
    MS-Off Ver
    Office 2013
    Posts
    49

    Re: if function

    Hi Mazan

    I think that maybe this is what you are after

    I have nested 8 if functions for each cell you want populating and completed half of your sheet

    You need to now analize my functions and complete the sheet

    As you can see I started the formula with the If function
    so in plain language
    if cell A3 contains "1" then the function then looks for what is in N4 because this is the "true" part of the if function
    if any other entry is made in Cell A3 this would normally return the false part of the argument but because I have continued with another if function the formula keeps going until the end until it finds a true argument or returns "0"

    to ensure that only the entries you populate the A3 cell with range from 0-7 I have added a data validation feature which allows you to select the numbers from a list

    I hope this is clear

    if you have probs come back to me

    Moose
    Attached Files Attached Files
    Last edited by Mad Moose; 01-10-2016 at 03:17 AM.

  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
    53,048

    Re: if function

    I am also not sure what you want here, can you explain in greater detail please - and show some sample answers?
    In second row is value I enter every time which have 7
    row 2 just contains a set of letter/number combos, no values?

    @ Mad Moose, please update your profile to indicate which version/s of excel you are using (latest doesnt tell us that - do you have 2016, for instance?)
    Also, Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    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
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,418

    Re: if function

    I suggest such a formula.
    Put it in the cell A4 and drag to the right.
    Formula: copy to clipboard
    =INDEX($O$4:$Q$11,MATCH(IF(LEN(A2)>1,--RIGHT(A2,1),0),$N4:$N11,0),IF(MOD(COLUMN(A:A),3)>=1,MOD(COLUMN(A:A),3),3))

  6. #6
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,418

    Re: if function

    I suggest such a formula.
    Put it in the cell A4 and drag to the right.
    Formula: copy to clipboard
    =INDEX($O$4:$Q$11,MATCH(IF(LEN(A2)>1,--RIGHT(A2,1),0),$N4:$N11,0),IF(MOD(COLUMN(A:A),3)>=1,MOD(COLUMN(A:A),3),3))

+ 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. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  2. Replies: 1
    Last Post: 06-10-2015, 12:56 PM
  3. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  4. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  5. [SOLVED] Using Offset function as the array in the PercentRank function is giving wrong result
    By Bobneil in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2013, 09:29 PM
  6. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  7. Excel - User Defined Function Error: This function takes no argume
    By BruceInCalgary in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2006, 04: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