+ Reply to Thread
Results 1 to 14 of 14

variable formula

  1. #1
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    variable formula

    ]Hello to all,
    ask help for a formula:
    Please Login or Register  to view this content.
    I attach the file.
    max_max

    -----------------------------------------------------------------------------------------------------------------------------

    Ciao a tutti,
    chiedo un aiuto per una formula:

    Please Login or Register  to view this content.
    allego il file.
    max_max

    [ATTACH]288202[/ATTACH
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: variable formula

    E4:

    =INDEX(A4:C4,MATCH(E$2,A$3:C$3,0))

    and copy down

    formula%20english(1).xls
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: variable formula

    Perfect daffodil11!
    Thank you,
    a greeting.
    max_max
    -----------------------
    Perfetto daffodil11!
    Grazie,
    un saluto.
    max_max

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: variable formula

    Non c’è di che
    Last edited by daffodil11; 01-07-2014 at 04:11 PM.

  5. #5
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: variable formula

    Hello,
    the formula:
    =INDEX(A4:C4,MATCH(E$2,A$3:C$3,0))
    works fine.
    You can not display " 0 " or " #N/A " if there are missing values​​?
    Thank you,
    max_max
    ---------------------------------------------------------------------------
    Ciao,
    la formula:
    =INDICE(A4:C4;CONFRONTA(E$2;A$3:C$3;0))
    funziona bene.
    E' possibile non visuallizzare " 0" oppure " #N/D " se mancano dei valori?
    Grazie,
    max_max
    Last edited by max_max; 01-08-2014 at 03:22 PM.

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: variable formula

    It's your choice.

    =IFERROR(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0)),0)

    or

    =IFERROR(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0)),"N/A")

    or

    =IFERROR(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0)),"")

  7. #7
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: variable formula

    Hello daffodil11.
    With the new formulas continues to visulizzarsi #N/A or 0 if there are missing values​​.
    max_max
    ---------------------------------------------------------------------------------------------
    Ciao daffodil11.
    Con le nuove formule continua a visulizzarsi #N/D oppure 0 se mancano dei valori.
    max_max

  8. #8
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: variable formula

    Oh, I thought that was what you wanted.

    Do you want it to show nothing or blank?

    =IFERROR(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0)),"")

    This makes "N/A" into " "

  9. #9
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: variable formula

    O.K. daffidil11
    the formula:
    = IFERROR (INDEX (A4: C4, MATCH (E $ 2, $ 3: C $ 3,0)), "")
    shows nothing or empty.
    But if the range A4: C4 is blank value = 0
    0 must be blank/empty as #N/A
    max_max
    -----------------------------------------------------------------
    O.K. daffidil11
    la formula:
    =SE.ERRORE(INDICE(A4:C4;CONFRONTA(E$ 2; $ 3: $ C 3;0)); "")
    mostra nulla o vuoto.
    Ma se il range A4:C4 è blank valore = 0
    0 deve essere blank/vuoto come #N/D
    max_max
    Last edited by max_max; 01-08-2014 at 05:24 PM.

  10. #10
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: variable formula

    I think I understand.

    = IFERROR(IF(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0))=0,"#N/A",INDEX(A4:C4,MATCH(E$2,A$3:C$3,0))), "")

    If A4:C4 = blank, you need output #N/A.

    This should do it.

  11. #11
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: variable formula

    Hello daffodil11,
    the formula is o.k..
    It runs on excel 2000?
    Thank you,
    max_max
    ------------------------
    Ciao daffodil11,
    la formula è o.k..
    Funziona su excel 2000?
    Grazie,
    max_max

  12. #12
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: variable formula

    For 2000:

    =IF(ISERROR(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0))),"",IF(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0))=0,"#N/A",INDEX(A4:C4,MATCH(E$2,A$3:C$3,0)))

  13. #13
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: variable formula

    Hello daffodil11 is perfect!

    =IF(ISERROR(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0))),"",IF(INDEX(A4:C4,MATCH(E$2,A$3:C$3,0))=0,"#N/A",INDEX(A4:C4,MATCH(E$2,A$3:C$3,0)))

    Thank you very much.
    Greetings from Italy,
    max_max
    --------------------------------
    Ciao daffodil11 è perfetto!

    =SE(VAL.ERRORE(INDICE(A4:C4;CONFRONTA(E$2;A$3:C$3;0)));"";SE(INDICE(A4:C4;CONFRONTA(E$2;A$3:C$3;0))=0;"#N/D";INDICE(A4:C4;CONFRONTA(E$2;A$3:C$3;0)))

    Grazie mille.
    Un saluto dall'Italia,
    max_max

  14. #14
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: variable formula

    Glad I could help, it was my pleasure.


    Feel free to Mark Thread as Solved under Thread Tools

+ 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. Replies: 4
    Last Post: 07-12-2013, 12:14 PM
  2. HELP on a variable in formula
    By hamedallah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-20-2012, 01:20 AM
  3. Using variable within VBA formula
    By MagicRob in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-02-2012, 11:23 AM
  4. Replies: 1
    Last Post: 10-31-2006, 08:34 AM
  5. [SOLVED] Using a variable in a formula
    By Patrick Simonds in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-17-2005, 05:05 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