Formula with date and price linked

I have 3 sheets. One is a master sheet with training expiry dates (Master Recency), then I have a training budget, monthly, and a pricing sheet. The training department updates the Master recency sheet with the dates training will expire. I need the training budget to look at the master recency sheet. Take the renewal column, put it in the applicable month, however not the date but pull the cost price from the price list and put that in the month column.

I got it to work with the below formula, but it is VERY labor intensive, and was wondering if there is an easier way.


basically, I said if the Med renewal date left 2 digits are applicable to the month on the budget, then look at the med price on the training price and put that in. Then move to DG, then move to SEPT but I have to do this for every training course and every person and every month. I cannot copy and paste.

Formula for (Nic Slabbert Jan on Training budget)

=IF(LEFT({Master Recency Data Range 4}, 2) = "01", {Training Prices Range 1}, 0) + IF(LEFT({Master Recency Data Range 5}, 2) = "01", {Training Prices Range 2}, 0) + IF(LEFT({Master Recency Data Range 7}, 2) = "01", {Training Prices Range 3}, 0) + IF(LEFT({Master Recency Data Range 9}, 2) = "01", {Training Prices Range 4}, 0) + IF(LEFT({Master Recency Data Range 11}, 2) = "01", {Training Prices Range 5}, 0) + IF(LEFT({Master Recency Data Range 13}, 2) = "01", {Training Prices Range 6}, 0) + IF(LEFT({Master Recency Data Range 15}, 2) = "01", {Training Prices Range 7}, 0) + IF(LEFT({Master Recency Data Range 17}, 2) = "01", {Training Prices Range 8}, 0) + IF(LEFT({Master Recency Data Range 19}, 2) = "01", {Training Prices Range 9}, 0) + IF(LEFT({Master Recency Data Range 21}, 2) = "01", {Training Prices Range 10}, 0) + IF(LEFT({Master Recency Data Range 23}, 2) = "01", {Training Prices Range 11}, 0) + IF(LEFT({Master Recency Data Range 25}, 2) = "01", {Training Prices Range 12}, 0) + IF(LEFT({Master Recency Data Range 27}, 2) = "01", {Training Prices Range 13}, 0) + IF(LEFT({Master Recency Data Range 29}, 2) = "01", {Training Prices Range 14}, 0) + IF(LEFT({Master Recency Data Range 31}, 2) = "01", {Training Prices Range 15}, 0) + IF(LEFT({Master Recency Data Range 33}, 2) = "01", {Training Prices Range 17} + {Training Prices Range 19} + {Training Prices Range 20}, 0) + IF(LEFT({Master Recency Data Range 8}, 2) = "01", {Training Prices Range 18+{Training Prices Range 19} + {Training Prices Range 20}, 0) + IF(LEFT({Master Recency Data Range 35}, 2) = "01", {Training Prices Range 16}, 0)


Then Feb

=IF(LEFT({Master Recency Data Range 4}, 2) = "02", {Training Prices Range 1}, 0) + IF(LEFT({Master Recency Data Range 5}, 2) = "02", {Training Prices Range 2}, 0) + IF(LEFT({Master Recency Data Range 7}, 2) = "02", {Training Prices Range 3}, 0) + IF(LEFT({Master Recency Data Range 9}, 2) = "02", {Training Prices Range 4}, 0) + IF(LEFT({Master Recency Data Range 11}, 2) = "02", {Training Prices Range 5}, 0) + IF(LEFT({Master Recency Data Range 13}, 2) = "02", {Training Prices Range 6}, 0) + IF(LEFT({Master Recency Data Range 15}, 2) = "02", {Training Prices Range 7}, 0) + IF(LEFT({Master Recency Data Range 17}, 2) = "02", {Training Prices Range 8}, 0) + IF(LEFT({Master Recency Data Range 19}, 2) = "02", {Training Prices Range 9}, 0) + IF(LEFT({Master Recency Data Range 21}, 2) = "02", {Training Prices Range 10}, 0) + IF(LEFT({Master Recency Data Range 23}, 2) = "02", {Training Prices Range 11}, 0) + IF(LEFT({Master Recency Data Range 25}, 2) = "02", {Training Prices Range 12}, 0) + IF(LEFT({Master Recency Data Range 27}, 2) = "02", {Training Prices Range 13}, 0) + IF(LEFT({Master Recency Data Range 29}, 2) = "02", {Training Prices Range 14}, 0) + IF(LEFT({Master Recency Data Range 31}, 2) = "02", {Training Prices Range 15}, +IF(LEFT({Master Recency Data Range 33}, 2) = "02", {Training Prices Range 17} + {Training Prices Range 19} + {Training Prices Range 20}, 0) + IF(LEFT({Master Recency Data Range 8}, 2) = "02", {Training Prices Range 18+{Training Prices Range 19} + {Training Prices Range 20}, 0) + IF(LEFT({Master Recency Data Range 35}, 2) = "02", {Training Prices Range 16}, 0))

Master Recurrency.jpg Prices.jpg Training Budget.jpg


Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!