+ Reply to Thread
Results 1 to 2 of 2

How to substitue variables in my function/forumals?

  1. #1
    Registered User
    Join Date
    09-23-2014
    Location
    vancouver, Canada
    MS-Off Ver
    2007
    Posts
    6

    How to substitue variables in my function/forumals?

    Hello,

    I wrote a forumula

    " IF(D5=$C$5,$A$5,IF(D5=$C$6,$A$6,IF(D5=$C$7,$A$7,"FAIL"))) "


    Actually..the one i wrote goes up to $A$67 but i cut it short here for simplicity's sake

    Is there a function that will replace every "D5" with something else????? i could not get substitute or replace function to work. I am an excel noob...if and and functions are the extent of my abilities.

    thanks,

  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: How to substitue variables in my function/forumals?

    this should do it
    =IFERROR(INDEX($A$5:$A$67,MATCH(D5,$C$5:$C$67,0)),"fail")
    "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

+ 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 substitue variables in my function/forumals?
    By bankerguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-23-2014, 06:33 PM
  2. substitue
    By raphiduani in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-06-2013, 04:44 AM
  3. Replies: 2
    Last Post: 06-05-2011, 09:46 PM
  4. Linking Forumals into One Cell
    By SportsScientist in forum Excel General
    Replies: 4
    Last Post: 06-18-2009, 11:45 AM
  5. Forumals Turning Off (ie., not working)?
    By Fattie in forum Excel General
    Replies: 1
    Last Post: 02-04-2007, 11:45 AM

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