Cell link from another sheet based on conditions

Holly J
Holly J
edited 09/28/21 in Formulas and Functions

Hi all, I hope someone can help as I've been racking my brain trying to work this out!

I have multiple sheets that work together of which the data changes each month (it's based on electricity bills with varying monthly kWh (in pence) rates). I essentially want to link a particular cell from one sheet to another sheet, based on 2 conditions and then do a simple multiplication based off that figure. I can get this formula to work:

=SUM([kWh Total]@row * {Energy Report (Static) Average daily p/kWh rate)

but because the rate changes each month I need it to look up the new rate each month.

For example: If Column A (in sheet 2) is ticked, and Column B (in sheet 2) = specific text , then pull through the kWh rate from Column C (in sheet 2) to Sheet 1.

I figured the easiest way to do this was to just get the kWh rate from sheet 2 to pull through to sheet 1 first, then I can a simple sum but if there's a way to pull the figure from sheet 2 into sheet 1 and do the calculation in one formula, then I'd prefer that.

Please help! :D

Many thanks

Best Answer


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!