Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Index and Match Used in Branching Formulas

✭✭
edited 01/07/22 in Formulas and Functions

I have a column using an index and match formula to index the cost based on a match of client name. In the same sheet, I have a Total Sample Cost column that sums the Normal Sample Cost with a couple of other fee columns. I did not build the sheet originally and when I went to change the pricing structure to index and match to a new sheet, the Total Sample Cost broke. I cannot figure out how to adjust the formatting to get the Total Sample Cost to include the Normal Sample cost.

  • Original Index and Match: =INDEX({Proposal and Cost Range 1}, MATCH([Pricing PK]18, {Proposal and Cost Range 2}, 0))
    • This linked to a sheet that had a primary key based on several selections. The Indexed cost was a simple text number in each cell.
  • New Index and Match: =INDEX({Vendor Event Cost 1}, MATCH(Vendor2, {Vendor Name 1}, 0))
    • The Index references a new client sheet where there are commitment tiers that determine the sample cost, so it is referencing a cells with formulas.
Tags:

Best Answer

  • Employee
    Answer βœ“

    Hi @Elliot Holder

    The reason the numbers are showing up as text is due to the quotes around them in that IF statement.

    For example, where you have "$0.50" you'll want to have 0.50

    Then once all the values are numbers in the formula without quotes, you can set the $ sign to the entire column using the formatting toolbar at the top of the sheet.

    Let me know if that makes sense or if you need help adjusting the formula!

    Cheers,

    Genevieve

    Need more information? πŸ‘€ | Help and Learning Center

    こんにけは (Konnichiwa), Hallo, Hola, Bonjour, OlΓ‘, Ciao!πŸ‘‹ | Global Discussions

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions