I am using this function
=SUMPRODUCT(($D$3:$D$1845="NZD")*($E$3:$E$1845))
However the range change everyday how can I adjate the furmula to change acorrdnig to the range change?
thanks
I am using this function
=SUMPRODUCT(($D$3:$D$1845="NZD")*($E$3:$E$1845))
However the range change everyday how can I adjate the furmula to change acorrdnig to the range change?
thanks
Hi,
Either extend your range down to say 10000 or use a named range to make it dynamic as per the attached link
http://www.contextures.com/xlPivot01.html#Dynamic
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Hi,
You can define your ranges with a "dynamic range" i.e a range which adjusts itself automatically ...
Insert Name Define
give your range a name
in the formula area type
HTH![]()
Please Login or Register to view this content.
Carim
![]()
With one criteria, SUMIF is better than SUMPRODUCT, i.e.Originally Posted by Hapitaron10
=SUMIF($D$3:$D$1845,"NZD",$E$3:$E$1845)
to make this variable, assuming you don't have numbers in E1 and E2 and you do have numbers all the way from E3 to your end row, whatever that is
=SUMIF($D$3:INDEX($D:$D,COUNT(E:E)+ROW(D$3)-1),"NZD",$E$3:INDEX($E:$E,COUNT(E:E)+ROW(D$3)-1))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks