Forum Discussion

Huub_Maas's avatar
Huub_Maas
Copper Contributor
Jun 26, 2022
Solved

IF formulas

Hi, I'm looking for the right formula in the yellow column to automatically calculate the cost in stead of manual input Ticket Amount costs Nett ticket price   insert which formula IF func...
  • mathetes's avatar
    mathetes
    Jun 27, 2022

    Huub_Maas 

    I'll jump in just to suggest that if that sample you gave is representative, then you need the IFS function, as in

    =IFS(ticketprice=21,3,ticketprice=42,6,ticketprice=63,9.....)

    but I'll also offer that (at least given what you've shown) you could also just say

    =ticketprice/7

    which leads me to ask "What is this really doing?" What is the mathematical relationship between the columns on each row, and possibly even between successive rows?"

     

    https://exceljet.net/excel-functions/excel-ifs-function

     

Resources