SOLVED

Formula Help!

%3CLINGO-SUB%20id%3D%22lingo-sub-1875141%22%20slang%3D%22en-US%22%3EFormula%20Help!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1875141%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%20I%20need%20help%20with%20creating%20a%20formula.%20I%20need%20to%20find%20out%20if%20the%20amount%20payed%20in%20Sheet1%20found%20in%20column%20B%2C%20is%20seen%20in%20Sheet2.%20But%20there%20is%20a%20criteria%2C%20the%20lookup%20range%20should%20be%20either%20same%20date%20or%20up%20to%203%20days%20after.%20Also%20I%20need%20to%20vlookup%20with%20the%20same%20criteria.%3C%2FP%3E%3CP%3EExample%3CBR%20%2F%3EWorksheet1%3CBR%20%2F%3EColumnA%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20ColumnB%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BColumnC%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BColumnD%3CBR%20%2F%3EDate%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BAmount%20Paid%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BBank%20Recon%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BDate%20Recon%3CBR%20%2F%3E1-Oct-2020%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%2020%2C000%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3ETRUE%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B3-Oct-2020%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWorksheet2%3CBR%20%2F%3EColumn%20A%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BColumnB%3CBR%20%2F%3EDate%20Recon%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20Amount%20Paid%3CBR%20%2F%3E1-Oct-2020%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%2015%2C000%3CBR%20%2F%3E2-Oct-2020%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%2017%2C000%3CBR%20%2F%3E3-Oct-2020%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%2020%2C000%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20your%20help%20in%20getting%20the%20formula%20for%20the%202%20cells%20that%20are%20in%20bold%20and%20red%20format.%20Thank%20you!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1875141%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Etraining%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1875168%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1875168%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F864901%22%20target%3D%22_blank%22%3E%40lavita17%3C%2FA%3E%26nbsp%3BIn%20case%20you%20are%20a%20MS365%20subscriber%20and%20your%20Excel%20version%20supports%20the%20new%20FILTER%20function%2C%20the%20attached%20(rough)%20example%20might%20work%20for%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1875174%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20Help!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1875174%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F864901%22%20target%3D%22_blank%22%3E%40lavita17%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20see%20the%20attached%20Excel%20file%20that%20might%20be%20helpful%2C%20if%20you%20are%20still%20facing%20issue%20add%20more%20data%20with%20different%20variation%20to%20get%20you%20the%20correct%20formula.%20With%20the%20current%20scenario%20it%20can%20be%20managed%20with%20INDEX%2BMATCH%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Snag_1df35f0b.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F232863iA159616AE2E04298%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Snag_1df35f0b.png%22%20alt%3D%22Snag_1df35f0b.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CP%3E%3CSPAN%3ERegards%2C%20Faraz%20Shaikh%20%7C%20MCT%2C%20MIE%2C%20MOS%20Master%2C%20Excel%20Expert%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CEM%3E%3CFONT%20color%3D%22%23808080%22%3EIf%20you%20find%20the%20above%20solution%20resolved%20your%20query%20don't%20forget%20mark%20as%26nbsp%3B%3CSPAN%3EOfficial%2FBest%20Answer%20and%20like%20it%20to%20help%20the%20other%20members%20find%20it%20more.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi! I need help with creating a formula. I need to find out if the amount payed in Sheet1 found in column B, is seen in Sheet2. But there is a criteria, the lookup range should be either same date or up to 3 days after. Also I need to vlookup with the same criteria.

Example
Worksheet1
ColumnA          ColumnB               ColumnC         ColumnD
Date                 Amount Paid         Bank Recon     Date Recon
1-Oct-2020      20,000                    TRUE               3-Oct-2020

 

Worksheet2
Column A         ColumnB
Date Recon      Amount Paid
1-Oct-2020      15,000
2-Oct-2020      17,000
3-Oct-2020      20,000

 

I need your help in getting the formula for the 2 cells that are in bold and red format. Thank you!

 

Thank you!

4 Replies

@lavita17 In case you are a MS365 subscriber and your Excel version supports the new FILTER function, the attached (rough) example might work for you.

best response confirmed by lavita17 (Occasional Contributor)
Solution

Hi @lavita17 

 

Please see the attached Excel file that might be helpful, if you are still facing issue add more data with different variation to get you the correct formula. With the current scenario it can be managed with INDEX+MATCH

 

Snag_1df35f0b.png

Regards, Faraz Shaikh | MCT, MIE, MOS Master, Excel Expert

If you find the above solution resolved your query don't forget mark as Official/Best Answer and like it to help the other members find it more.

Thank you so much this is a big help! I used IF + ISNUMBER(SEARCH) + VLOOKUP functions just to complete that data. Thank you again
Thank you so much for your help! Unfortunately, I don't have the filter function. I better research this version. Thank you again