I'm having a challenge creating a formula referencing a table date field. I'm trying to use Text(Today(),"MMYYYY") in the formula.
I have provided a sample workbook.
Your suggestions are appreciated.
Table Formula Dates
-
- GoldLounger
- Posts: 2628
- Joined: 26 Jan 2010, 16:31
- Location: Southern California
Table Formula Dates
You do not have the required permissions to view the files attached to this post.
Regards,
John
John
-
- Administrator
- Posts: 78448
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Table Formula Dates
Criteria range arguments of SUMIFS cannot be expressions, they must be ranges. You can use a SUMPRODUCT formula instead:
=SUMPRODUCT(tblDue[Amount],(TEXT(tblDue[Mail_Check],"MMYYYY")=TEXT(TODAY(),"MMYYYY"))*(tblDue[Vendor]=G2))
=SUMPRODUCT(tblDue[Amount],(TEXT(tblDue[Mail_Check],"MMYYYY")=TEXT(TODAY(),"MMYYYY"))*(tblDue[Vendor]=G2))
Best wishes,
Hans
Hans
-
- GoldLounger
- Posts: 2628
- Joined: 26 Jan 2010, 16:31
- Location: Southern California
-
- GoldLounger
- Posts: 2628
- Joined: 26 Jan 2010, 16:31
- Location: Southern California
Re: Table Formula Dates
Hans,
If I introduce an additional field column in the table called "Status" between Amount and Mail_Check (3rd Column) I would like to create a INDEX/MATCH formula to the Status field.
I'm having a challenge with this formula: =INDEX(tblDue,MATCH(TEXT(TODAY(),"MMYYYY"),TEXT(tblDue[Mail_Check],"MMYYYY"),0),3)
Thanks for taking a look.
If I introduce an additional field column in the table called "Status" between Amount and Mail_Check (3rd Column) I would like to create a INDEX/MATCH formula to the Status field.
I'm having a challenge with this formula: =INDEX(tblDue,MATCH(TEXT(TODAY(),"MMYYYY"),TEXT(tblDue[Mail_Check],"MMYYYY"),0),3)
Thanks for taking a look.
Regards,
John
John
-
- Administrator
- Posts: 78448
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- GoldLounger
- Posts: 2628
- Joined: 26 Jan 2010, 16:31
- Location: Southern California