Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9701

Referencing a calculated value in another calculated value

$
0
0

Here's the general structure of my spreadsheet:

Start End   Count Duration Hours Count/Hour09:00 10:00 10    01:00    1.00  10Duration   = End - StartHours      = TIMEVALUE(Duration) * 24Count/Hour = Count / Hours

Currently I use ARRAYFORMULAs in order to calculate Duration, Hours and Count/Hour for every row of the spreadsheet. It actually works pretty well but it doesn't seem like a clean solution. So I want to replace these ARRAYFORMULAs with a pivot table with calculated values.

I tried it and found that while the dynamic table is capable of calculating Duration it gives me an error when I reference Duration in the formula for Hours. It says the range is unknown.

Is it not possible to reference one calculated value in another? Seems like an odd restriction to have. The rest of the spreadsheet doesn't have this problem.

Is this possible in Google Sheets or should I keep using ARRAYFORMULAs?


Viewing all articles
Browse latest Browse all 9701


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>