+ Reply to Thread
Results 1 to 6 of 6

Pass Variable in IF Formula

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Pass Variable in IF Formula

    Hello:

    Please refer to attached sheet.

    I need to create IF Formula in column C ( C4:C34)

    The format is shown in cell C4 and C5.
    FYI : You may use referance in column B for formula.

    Please let me know if any questions.

    Thank you

    Riz Momin
    Attached Files Attached Files
    Last edited by rizmomin; 12-04-2013 at 11:26 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Pass Variable in IF Formula

    Not clear what is your goal riz. Perhaps..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Pass Variable in IF Formula

    Hi Fotis1991:

    Hello:

    Please refer to attached sheet.

    Basically below is what I am trying to achieve.

    In Cell B4:B34, there is column#.
    I need to check in each of these column in row 4 to see if any character exit.
    IF any character exist then put "YES" in corresponding cell in column C.
    If no character exist then put "NO" in corresponding cell in column C.

    So need =IF statement

    For example:

    Cell B4 = E, so need to check cell E4 and if E4 is blank then put "NO" in cell C4
    Cell B5 = I, so need to check cell I4 and if I4 is blank then put "NO" in cell C5
    Cell B6 = M, so need to check cell M4 and if M4 is blank then put "NO" in cell C6


    Please let me know if any questions.

    Thank you

    Riz Momin
    Attached Files Attached Files

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Pass Variable in IF Formula

    Hi,

    This is why Jonmo asked you if the result of your previous thread was to be used in a further formula: here, you don't need to reference the 'letters' in column B, and no INDIRECTs either. Simply, in C4 and copy down:

    =IF(INDEX($4:$4,,4*(ROWS($1:1)-1)+5)="","NO","YES")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Pass Variable in IF Formula

    Hi XOR LX:

    Oh I see your comment and once again thank you so much for helping.
    This will work great for me.

    Thank you

    Riz Momin

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Pass Variable in IF Formula

    You're welcome.

+ 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. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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