Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2018, 09:53 AM
garymon9AX garymon9AX is offline =SUM(MAXIFS  formula works in some cells and not others Windows 10 =SUM(MAXIFS  formula works in some cells and not others Office 2013
Novice
=SUM(MAXIFS  formula works in some cells and not others
 
Join Date: Feb 2018
Posts: 9
garymon9AX is on a distinguished road
Default =SUM(MAXIFS formula works in some cells and not others

Please help - this is driving me mad. See attached spreadsheet.



Column J in the 'Network Homes' sheet, is trying to return the latest date from Column C on the 'Job Occurrences' sheet, according to certain criteria in the formula.

Can any one tell me why the cells shaded pink in column J produce silly dates when others in the same column work ok?

I am somewhat of a novice, so would appreciate any help given.
Attached Files
File Type: xlsx Forum DRAFT PPM TEMPLATE.xlsx (260.6 KB, 10 views)
Reply With Quote
  #2  
Old 02-27-2018, 11:21 AM
NBVC's Avatar
NBVC NBVC is offline =SUM(MAXIFS  formula works in some cells and not others Windows 10 =SUM(MAXIFS  formula works in some cells and not others Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

I think you are summing the max date of each of the items that you are searching column I for... Try using Max instead of Sum

=MAX(MAXIFS('Job occurrences'!C:C,'Job occurrences'!B:B,"s"&A42,'Job occurrences'!I:I,{"Visit Completed","No Access","Action/Info/Appt Reqd","Further Appt Reqd","Job Completed","On Site"}))
Reply With Quote
  #3  
Old 02-28-2018, 09:54 AM
garymon9AX garymon9AX is offline =SUM(MAXIFS  formula works in some cells and not others Windows 10 =SUM(MAXIFS  formula works in some cells and not others Office 2013
Novice
=SUM(MAXIFS  formula works in some cells and not others
 
Join Date: Feb 2018
Posts: 9
garymon9AX is on a distinguished road
Default

Thanks NBVC. Your suggestion worked a treat.
I am most grateful.



Quote:
Originally Posted by NBVC View Post
I think you are summing the max date of each of the items that you are searching column I for... Try using Max instead of Sum

=MAX(MAXIFS('Job occurrences'!C:C,'Job occurrences'!B:B,"s"&A42,'Job occurrences'!I:I,{"Visit Completed","No Access","Action/Info/Appt Reqd","Further Appt Reqd","Job Completed","On Site"}))
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
=SUM(MAXIFS  formula works in some cells and not others Formula result not displaying in cell (but f9 works) nath1235 Excel 4 10-06-2017 12:42 PM
=SUM(MAXIFS  formula works in some cells and not others Help with a formula which no longer works. Silkwood Excel 2 03-21-2017 02:25 PM
Syntax error on formula that works in spreadsheet Mxthomp Excel Programming 1 11-02-2016 06:49 PM
=SUM(MAXIFS  formula works in some cells and not others Formula works in Excel on my computer, but not on my PDA Frenchy305 Excel 3 12-17-2015 08:33 AM
=SUM(MAXIFS  formula works in some cells and not others Formula works on most cells gbaker Excel 1 04-26-2014 12:31 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft