[Solved] Indirect addressing

Discuss the spreadsheet application
Post Reply
gnomy
Posts: 6
Joined: Thu Jan 26, 2017 10:43 am

[Solved] Indirect addressing

Post by gnomy »

I am successfully using this formula:
=SUMIF($Accounts.B2:B900;"sub";$Accounts.C2:C900)
This summarizes members subscriptions from start to current.
The dates are in column A.
I would like to change the "2" and the "900" so that I can summarize only one selected month.
I have searched the posts and can now use indirect to select a start and end.
Is it possible to name a month instead.

Row 2, columns A, B, C look like this:
14/05/18 sub 50.00
Last edited by robleyd on Thu Aug 23, 2018 10:35 am, edited 4 times in total.
Reason: Add green tick [robleyd, Moderator]
windows 10, openoffice 4.11
menzshed treasurer
User avatar
Zizi64
Volunteer
Posts: 11359
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Indirect addressing

Post by Zizi64 »

And where are the names or the ID numbers of the months?

Please upload an ODF type sample file here...
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
njhub
Posts: 33
Joined: Thu May 17, 2018 8:36 am
Location: Mayotte YT

Re: Indirect addressing

Post by njhub »

Hi gnomy,

With an additionnal cell for the month number in E1

Try this

Code: Select all

=SUMIFS(Accounts.C2:Accounts.C900,$Accounts.B2:$Accounts.B900,"sub",$Accounts.A2:$Accounts.A900,">="&DATE(2018,E1,1),$Accounts.A2:$Accounts.A900,"<"&(DATE(2018,E1+1,1)))
LibreOffice (fr_YT): 6.1.4.2 (26/12/2018)
OS : Windows 10.0
gnomy
Posts: 6
Joined: Thu Jan 26, 2017 10:43 am

Re: [solved} Indirect addressing

Post by gnomy »

I'm working on it. Using indirect may be easier.
windows 10, openoffice 4.11
menzshed treasurer
Post Reply