Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-23-2019, 02:25 PM
ArviLaanemets ArviLaanemets is offline Formula with date which need to match & got error message Windows 8 Formula with date which need to match & got error message Office 2016
Expert
 
Join Date: May 2017
Posts: 960
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

SUMIFs() is not used in my example to calculate sum - it is used to return the sum of entries matching certain conditions. The task is to set those conditions in such way, that ideally the sum of value in single cell is returned - i.e. the value from single cell. This the formula did - except for one row, where the sum of 2 values was returned. I did write about this row, but I could not decide, why several values were found. Were dates in example table for this row wrong, or needed the formula more complex set of conditions - I had not enough information there.

As from your opening post those conditions were not clearly defined, I had to make a guess. I made one which did give best match with numbers you provided.

To get messages when no match was found, you probably have to add some helper columns. E.g. an column where COUNTIFS() function calculates the number of matching rows in BAF table. When the first formula returns 0, and the count is also 0, then there was no match. When the first formula returns 0, and count is >0, then there was a value 0 returned from BAF table.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Error Message Run time Error 4605 baes10 Word VBA 1 08-30-2018 02:37 PM
Formula with date which need to match & got error message Reserved error(-1517); there is no message for this error ktest Office 1 02-12-2016 08:08 PM
Formula with date which need to match & got error message Automation error Unknown error" message once they open the Excel file hlina Excel 1 10-08-2013 09:14 PM
Macro date and match valor cg1980 Excel Programming 0 04-12-2011 09:38 AM
Formula with date which need to match & got error message Imported message date change to today's date promark Outlook 1 12-23-2005 07:21 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:07 PM.


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