# circular reference??

#### stevie73

##### New Member
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

### 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
=b10-sum(f5:f25,h4:h25)

#### KRice

##### Well-known Member
Try changing the F4 to F5

#### stevie73

##### New Member
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

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

#### stevie73

##### New Member
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
Glad we could help & thanks for the feedback.

Replies
5
Views
92
Replies
5
Views
195
Replies
6
Views
51
Replies
1
Views
113
Replies
5
Views
51

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.

### Which adblocker are you using?

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

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