Sumif using Named Ranges

deletedalien

Well-known Member
Joined
Dec 8, 2008
Messages
505
Office Version
  1. 2013
Platform
  1. Windows
good morning guys,


i think this should be an easy one but i just cant figure it out

ok so i have dates in column A:A and data in column L:L

i want to do named ranges by dates A30:L80 "Jul18" so that if i need to do a lookup only on that range i can just do =vlookup(B2,Jul18,11,0) and get what i want

BUT

if i want to add the total of the data range inside the named range "Jul18" only in column L i thought i could do something like
=sumif(Jul18,"07/18/11",L:L)

but appparently that brings back an incorrect number,

do you guys know of a workaround?


Thanks in advance
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
in your formula
=sumif(Jul18,"07/18/11",L:L)

Refers to A30:L80
try to change it to A:A
 
Upvote 0
in your formula
=sumif(Jul18,"07/18/11",L:L)

Refers to A30:L80
try to change it to A:A


i would but if i did that then it would sum up the total of all dates (all column A:A)

thats why im using named ranges, to separate the data by dates.

so in this scenario i want excel to sum up only the total of the sum in column L:L BUT from the row that begins in the named range to the last row in the named range,

in other words only the total of Jul18 (Named range "Jul18" A30:L80)
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,874
Members
452,949
Latest member
Dupuhini

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
Back
Top