Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Match function not working

Posted on 2011-02-22
3
Medium Priority
?
385 Views
Last Modified: 2012-05-11
Hi,

I have attached a spreadsheet where there is a Match Function in H3 (YELLOW) that should return Check if there has been a change in the numbers between today and yesterday. As you can see from the SS there has been a change but the "Check" is not being returned.

Can anyone see why this is?

Thansk
Seamus
Example.xls
0
Comment
Question by:Seamus2626
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 1600 total points
ID: 34952986
Hello Seamus,

What constitutes a change?

Your MATCH function is only checking the first row with today's date, so it finds that in row 2 and there is no change so you get a blank, if you want check if there is any row with a change for today try

=IF(SUMPRODUCT((INT(E2:E1000)=TODAY())+0,(C2:C1000<>0)+(D2:D1000<>0)),"Check","")

regards, barry
0
 
LVL 11

Assisted Solution

by:Runrigger
Runrigger earned 400 total points
ID: 34952997
Seamus, this part of the formula retruns row 2 - =MATCH(TODAY(),E:E,0)

Therefore this section --->>>
AND(INDEX(C:C,MATCH(TODAY(),E:E,0))=0,INDEX(D:D,MATCH(TODAY(),E:E,0))=0)

Returns AND(TRUE,TRUE), the result in the cell will therefore be ""
0
 

Author Closing Comment

by:Seamus2626
ID: 34953017
Perfect Barry, thanks too Runrigger

Cheers
Seamus
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question