Sumifs based on data range and time

Translationguy

New Member
Joined
Nov 4, 2016
Messages
17
Hi All

So after lots of hurdles getting a new report sorted based on a data dump from a translation tool (over 50,000 rows per month) I've managed to get through pretty much every hurdle but this one.

I can sum the number of words against each language, budget etc including a date range because when the translation project starts, the tool lists only the date such as "02/11/2017" (this is using British dates).

The issue is that once it gets to the stages of translation such as translation, review, proofreading it starts to include times as well such as "02/11/2017 00.00.00". To finish this report, I need to sumifs everything up, per translator (I can amend the formula for proofreaders and reviewers etc).

The columns that I believe will be affected are listed here.

Report (the dump of data):
AC - One of the types of words per file, listed as numbers.
AO - The translation user, the person I have assigned the number of words to so I can pay them.
AL - The start date including British date format and the time(dd/mm/yyyy hh.mm.ss)

Invoicing (the sheet I use to total the wordcounts against each budget):
B1: The date when the entire project starts (dd/mm/yyyy)
B2: The date when the entire project ends (dd/mm/yyyy)

Translators:
C - The column where the translator's username is listed that is matches with report AO.

Here are some examples of formulas I have tried in case it helps.

"=SUMIFS(Report!AC:AC,Report!AO:AO,Translators!C20,Report!AL:AL,">="&Invoicing!B1,Report!AL:AL,"<="&Invoicing!B2)" This formula will work perfectly if I remove the space and time from Report AL.

"=SUMIFS(Report!AC:AC,Report!AO:AO,Translators!C20,Report!BK:BK,">="&Invoicing!B1,Report!BK:BK,"<="&Invoicing!B2)" For this I tried to put "=LEFT(AL20,10)" into Report BK so that I would only have the date to match against but this didn't work.

"=SUMIFS(Report!AC:AC,Report!AO:AO,Translators!C20,Report!AL:AL,">="&"*"&Invoicing!B1&"*",Report!AL:AL,"<="&"*"&Invoicing!B2&"*")"
"=SUMIFS(Report!AC:AC,Report!AO:AO,Translators!C20,Report!AL:AL,">=""*"&Invoicing!B1&"*",Report!AL:AL,"<=""*"&Invoicing!B2&"*")" Neither of these 2 formulas threw up issues but wouldn't return values either.

Let me know where you think I'm going wrong or my options, we can request development of the tool to do certain things but it would take a lot of time to resolve and I'm not sure now that the whole system has the time included, it's possible to remove it.

Many thanks!
 

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,214
Office Version
365
Platform
Windows
"=SUMIFS(Report!AC:AC,Report!AO:AO,Translators!C20,Report!AL:AL,">="&Invoicing!B1,Report!AL:AL,"<="&Invoicing!B2)" This formula will work perfectly if I remove the space and time from Report AL.
Hi, you can try the following amendments to the above.

=SUMIFS(Report!AC:AC,Report!AO:AO,Translators!C20,Report!AL:AL,">="&Invoicing!B1,Report!AL:AL,"<"&Invoicing!B2+1)
 

Forum statistics

Threads
1,081,841
Messages
5,361,638
Members
400,642
Latest member
tekster23

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top