SOLVED

Compare data across different sheets, return value where match

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3070904%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3ECompare%20data%20across%20different%20sheets%2C%20return%20value%20where%20match%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3070904%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CP%3ESheet%201%20has%20duplicative%20data%20noted%20here%3A%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%5C%26quot%3Blia-inline-image-display-wrapper%22%20lia-image-align-inline%3D%22%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fgxcuf89792%2F%5C%26quot%3Bhttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F342115iE592542A48FBDD63%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%5C%26quot%3B%22%20role%3D%22%5C%26quot%3Bbutton%5C%26quot%3B%22%20title%3D%22bcoronado_0-1643077907800.png%22%20alt%3D%22%5C%26quot%3Bbcoronado_0-1643077907800.png%5C%26quot%3B%22%20%2F%3E%26lt%3B%5C%2Fspan%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESheet%202%20is%20trying%20to%20indicate%20if%20a%20check%20occurred%20in%20each%20month.%20I%20of%20course%20placed%20the%20'X'%20in%20manually%20but%20have%202771%20rows%20to%20view.%20I've%20googled%20and%20don't%20know%20how%20to%20describe%20the%20level%20of%20complexity%20to%20get%20a%20good%20result.%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%5C%26quot%3Blia-inline-image-display-wrapper%22%20lia-image-align-inline%3D%22%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fgxcuf89792%2F%5C%26quot%3Bhttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F342116i124DC86C42B9E734%2Fimage-dimensions%2F773x114%3Fv%3Dv2%5C%26quot%3B%22%20width%3D%22%5C%26quot%3B773%5C%26quot%3B%22%20height%3D%22%5C%26quot%3B114%5C%26quot%3B%22%20role%3D%22%5C%26quot%3Bbutton%5C%26quot%3B%22%20title%3D%22bcoronado_1-1643078049352.png%22%20alt%3D%22%5C%26quot%3Bbcoronado_1-1643078049352.png%5C%26quot%3B%22%20%2F%3E%26lt%3B%5C%2Fspan%26gt%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThis%20is%20what%20I%20would%20like%20to%20do%20in%20plain%20text%3A%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E*%20compare%20sheet%201%2C%20row%20A%20and%20sheet%202%20row%20A%20(recognize%20the%20match)%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E*%20Where%20matches%20exist%2C%20indicate%20if%20check%20occurred%20within%20each%20month%20(sheet%201%20column%20B%20and%20sheet%202%20row%201)%20(OR%20if%20easier)%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E*%20indicate%20month%20of%20most%20recent%20check%20date%20(for%20ID%209876%20would%20indicate%20June%202021%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20if%20this%20is%20possible%20or%20if%20there%20are%20other%20simple%20recommendations%20I'm%20not%20thinking%20of%3F%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EThank%20you!%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3CLINGO-LABS%20id%3D%22%5C%26quot%3Blingo-labs-3070904%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3ECharting%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3EExcel%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3EFormulas%20and%20Functions%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3EOffice%20365%26lt%3B%5C%2Flingo-label%26gt%3B%26lt%3B%5C%2Flingo-labs%26gt%3B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E
Occasional Visitor

Sheet 1 has duplicative data noted here:

bcoronado_0-1643077907800.png

Sheet 2 is trying to indicate if a check occurred in each month. I of course placed the 'X' in manually but have 2771 rows to view. I've googled and don't know how to describe the level of complexity to get a good result. 

bcoronado_1-1643078049352.png

This is what I would like to do in plain text:

* compare sheet 1, row A and sheet 2 row A (recognize the match) 

* Where matches exist, indicate if check occurred within each month (sheet 1 column B and sheet 2 row 1) (OR if easier)

* indicate month of most recent check date (for ID 9876 would indicate June 2021

 

I don't know if this is possible or if there are other simple recommendations I'm not thinking of?

Thank you!

 

 

2 Replies
best response confirmed by b-coronado (Occasional Visitor)
Solution

@b-coronado I'd suggest you use a pivot table for this purpose. Demonstrated in the attached file. It use some of Excel's built-in time intelligence and counts the number of ID per date, grouped by month. No problem to do this on 2771 rows of data. It might take two seconds to generate the pivot table.

Screenshot 2022-01-25 at 06.32.01.png

@b-coronado 

 

Hello, attached is an excel file with an example. I did this using power query... 

 

You just need to input your information in the blue table and then go to Data > Refresh all. (like a pivot table)

 

Hope it works!

 

alannavarro_0-1643090185619.png