circular reference??

stevie73

New Member
Joined
Jun 5, 2014
Messages
9
hi i have the following formula in cell f4 on a sheet

=B10-F5-F6-F7-F8-F9-F10-F11-F12-F13-F14-F15-F16-F17-F18-F19-F20-F21-F22-F23-F24-F25-H4-H5-H6-H7-H8-H9-H10-H11-H12-H13-H14-H15-H16-H17-H18-H19-H20-H21-H22-H23-H24-H25

which i thought i could shorten to something like:
=B10-(F4:F25)-(H4:H25)

but its throwing an error - any help appreciated. the cells are time values
 

Some videos you may like

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows
How about
=b10-sum(f5:f25,h4:h25)
 

KRice

Well-known Member
Joined
Dec 9, 2003
Messages
1,062
Office Version
  1. 2019
Platform
  1. Windows
Try changing the F4 to F5
 

stevie73

New Member
Joined
Jun 5, 2014
Messages
9
hi yes i tried changing to f5 also so that f4 wasnt referenced but it then came up with value# error?? cheers
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

See post#2, not sure if you have seen the edited version.
 

stevie73

New Member
Joined
Jun 5, 2014
Messages
9
hi Fluff - thank you i think that may be it - i didnt think i could use sum like that - brilliant thanks
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows
Glad we could help & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,237
Messages
5,623,542
Members
415,977
Latest member
Tommyboy30

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top