# Offsetting

#### Craneo

##### New Member
Hi,

Could anyone help me with a formula headache?

I want to reference a range of cells in a worksheet and to sum the values of cells immediately to the right of a text string value in another cell.

Any ideas?

### Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

#### Craneo

##### New Member
Just what the doctor ordered ... Thanks!

#### Craneo

##### New Member
Can the SUMIF be modified across an A1 range? I get a #VALUE! error when i try to increase the range

eg.

=SUM(IF(\$B\$9:\$D\$17=G10,\$C\$9:\$E\$17,0))

##### MrExcel MVP
are you using control + shift + enter to enter the formula?

##### MrExcel MVP
On 2002-10-27 18:37, Craneo wrote:
Can the SUMIF be modified across an A1 range? I get a #VALUE! error when i try to increase the range

eg.

=SUM(IF(\$B\$9:\$D\$17=G10,\$C\$9:\$E\$17,0))

This is obviously an array formula, based on a single condition. This "doctor" would order just

=SUMIF(\$B\$9:\$D\$17,G10,\$C\$9:\$E\$17)

with just one condition.

Replies
2
Views
107
Replies
1
Views
113
Replies
13
Views
139
Replies
1
Views
94
Replies
3
Views
105

1,147,450
Messages
5,741,189
Members
423,647
Latest member
lyanndominique

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