Need formula to track unpaid bills

%3CLINGO-SUB%20id%3D%22lingo-sub-3298849%22%20slang%3D%22en-US%22%3ENeed%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3298849%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20is%20there%20any%20formula%20in%20excel%20or%20technique%20to%20place%20bills%20existing%20in%20another%20sheet%20to%20place%20under%20receipt%20and%20remaining%20bills%20under%20the%202nd%20receipt%20and%20so%20on.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3298849%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3299520%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3299520%22%20slang%3D%22en-US%22%3EWe%20really%20need%20more%20information%20and%20a%20sample%20sheet%2Fworkbook%20would%20help%20a%20lot.%3CBR%20%2F%3EThat%20said%20if%20you%20have%20a%20list%20and%20a%20criteria%20then%20on%20another%20sheet%20you%20can%20use%20the%20FILTER()%20function%20to%20show%20all%20the%20items%20on%20the%20list%2Ftable%20that%20match%20your%20criteria.%20(you%20can%20also%20use%20pivot%20tables%20or%20power%20query)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3341076%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3341076%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22lia-spoiler-container%22%3E%3CA%20class%3D%22lia-spoiler-link%22%20href%3D%22%23%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESpoiler%3C%2FA%3E%3CNOSCRIPT%3E(Highlight%20to%20read)%3C%2FNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-border%22%3E%3CDIV%20class%3D%22lia-spoiler-content%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570951%22%20target%3D%22_blank%22%3E%40mtarler%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20response.%3CBR%20%2F%3ESheet%20A%20contains%20list%20of%20receipts%20from%20customer%20and%20sheet%20B%20contains%20number%20of%20bills%20invoiced%20to%20customer.%20Problem%20is%20that%20there%20is%20no%20common%20%2F%20unique%20identifier%20in%20both%20sheets.%20I%20want%20to%20place%20number%20of%20bills%20from%20sheet%20B%20against%20receipts%20in%20Sheet%20A%20and%20so%20on.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22receipts%20%23.JPG%22%20style%3D%22width%3A%20200px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370100i6358F2D246C8E0C2%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22receipts%20%23.JPG%22%20alt%3D%22receipts%20%23.JPG%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Bill%20%23.JPG%22%20style%3D%22width%3A%2073px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370101i1C2FA24704734ECB%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22Bill%20%23.JPG%22%20alt%3D%22Bill%20%23.JPG%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3CNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-noscript-container%22%3E%3CDIV%20class%3D%22lia-spoiler-noscript-content%22%3E%26nbsp%3BThanks%20for%20the%20response.Sheet%20A%20contains%20list%20of%20receipts%20from%20customer%20and%20sheet%20B%20contains%20number%20of%20bills%20invoiced%20to%20customer.%20Problem%20is%20that%20there%20is%20no%20common%20%2F%20unique%20identifier%20in%20both%20sheets.%20I%20want%20to%20place%20number%20of%20bills%20from%20sheet%20B%20against%20receipts%20in%20Sheet%20A%20and%20so%20on.%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FNOSCRIPT%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3341085%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3341085%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570951%22%20target%3D%22_blank%22%3E%40mtarler%3C%2FA%3E%26nbsp%3Bthanks%20for%20the%20response.%3C%2FP%3E%3CP%3ESheet%20A%20contains%20list%20of%20receipts%20from%20customer%20and%20sheet%20B%20contains%20number%20of%20bills%20invoiced%20to%20customer.%20Problem%20is%20that%20there%20is%20no%20common%20identifier%20in%20both%20sheets.%20I%20want%20to%20place%20the%20number%20of%20bills%20from%20sheet%20B%20against%20receipts%20in%20sheet%20A%20upto%20the%20receipt%20amount.%20Sample%20are%20attached%20below%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22receipts%20%23.JPG%22%20style%3D%22width%3A%20613px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370102iB1417118B829E70F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22receipts%20%23.JPG%22%20alt%3D%22receipts%20%23.JPG%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Bill%20%23.JPG%22%20style%3D%22width%3A%20219px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370103i874E05D0E3D50EB7%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Bill%20%23.JPG%22%20alt%3D%22Bill%20%23.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3364215%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3364215%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1377078%22%20target%3D%22_blank%22%3E%40Rizwan_Hussain%3C%2FA%3E%26nbsp%3BI%20still%20don't%20think%20we%20have%20enough%20information.%26nbsp%3B%20I%20took%20a%20stab%20at%20it%20and%20made%20an%20assumption%20that%20the%20bills%20were%20in%20order%20of%20the%20receipts%20and%20used%20the%20cumulative%20totals%20but%20I%20don't%20think%20that%20is%20the%20case.%26nbsp%3B%20Here%20is%20the%20attachment%20but%20i%20think%20we%20need%20more%20information%20on%20HOW%20you%20expect%20the%20items%20to%20get%20matched%20up.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3368518%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3368518%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570951%22%20target%3D%22_blank%22%3E%40mtarler%3C%2FA%3E%26nbsp%3BBelow%20sample%20is%20attached%20performed%20on%20one%20receipt.%20Bill%20amount%20from%20billing%20sheet%20upto%20receipt%20amount%202%2C237%2C003%20is%20extracted%20and%20placed%20under%20receipt%20amount%20manually.%20I%20want%20to%20develop%20a%20formula%20that%20helps%20me%20in%20extracting%20billing%20amount%20and%20place%20under%20receipt%20amount.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3373955%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3373955%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1377078%22%20target%3D%22_blank%22%3E%40Rizwan_Hussain%3C%2FA%3E%26nbsp%3BI'm%20still%20unclear%20what%20you%20need.%26nbsp%3B%20In%20the%20example%20I%20sent%20I%20think%20I%20did%20what%20you%20want.%26nbsp%3B%20I%20am%20attaching%20your%20sheet%20with%20the%20previous%20formulas%20(modified%20a%20little)%20and%20color%20coded%20a%20bit.%26nbsp%3B%20So%20on%20the%20Receipt%20sheet%20I%20added%20a%20cumulative%20column%20and%20on%20the%20Billing%20sheet%20I%20added%20Receipt%23%20sheet%20which%20creates%20that%20%22tie%20back%22%20to%20the%20receipt%20sheet%20you%20wanted.%26nbsp%3B%20If%20you%20need%20to%20combine%20the%202%20tables%20together%20that%20is%20another%20step%20(or%20better%20yet%20would%20be%20if%20you%20could%20use%20a%20pivot%20table%20depending%20on%20what%20you%20need).%3C%2FP%3E%3CP%3EI%20formatted%20both%20as%20tables%20as%20that%20should%20improve%20the%20overall%20performance%20over%20referencing%20arbitrarily%20long%20columns%20unnecessarily.%3C%2FP%3E%3CP%3EThe%20formulas%20just%20take%20the%20receipts%20sequentially%20as%20you%20noted%20there%20is%20not%20other%20'tie-back'%20to%20use%20and%20even%20the%20dates%20are%20not%20in%20order.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3374030%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3374030%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570951%22%20target%3D%22_blank%22%3E%40mtarler%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20response%2C%3C%2FP%3E%3CP%3EBut%20there%20is%20a%20little%20problem%20with%20this%20approach%20if%20receipts%20number%20column%20is%20showing%20the%20description%20in%20cash%20%2F%20Visa%20instead%20of%20receipts%20number%20as%20appearing%20in%20previously%20shared%20sample.%20Further%20Attached%20sample%20is%20explaining%20completely%20my%20requirements%20in%20%22desired%20sheet%22.%20Computation%20performed%20manually.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3376009%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3376009%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1377078%22%20target%3D%22_blank%22%3E%40Rizwan_Hussain%3C%2FA%3E%26nbsp%3BI%20don't%20see%20any%20example%20of%20'cash%20%2F%20Visa'%20in%20any%20of%20the%20files.%20If%20those%20codes%20mean%20that%20to%20you%2C%20fine%20but%20I%20don't%20have%20a%20clue.%20I%20used%20the%20column%20under%20Receipts%20called%20Receipt%20Number%20because%20it%20looked%20like%20a%20unique%20ID%20but%20if%20that%20isn't%20the%20case%20then%20just%20add%20another%20column%20that%20is%20a%20unique%20ID%20(e.g.%20%3DROW()%20would%20work)%3CBR%20%2F%3EAs%20for%20your%20%22desired%20sheet%22%20it%20is%20both%20a%20pain%20to%20do%20and%20not%20particularly%20useful%20for%20any%20further%20calculations%20or%20analysis.%20I%20suspect%20this%20is%20purely%20for%20printing%20a%20report%20for%20someone%20who%20is%20used%20to%20seeing%20it%20this%20way.%26nbsp%3B%20%26nbsp%3BIn%20the%20attached%20I%20added%20this%20'unique%20id'%20column%20as%20noted%2C%20joined%20the%20tables%20and%20created%20a%20pivot%20table%20using%20the%20combined%20data%20into%20a%20format%20at%20least%20very%20close%20to%20your%20'desired%20output'.%3C%2FP%3E%3CP%3EI%20really%20wish%20I%20could%20better%20understand%20what%20you%20are%20actually%20trying%20to%20do%2Faccomplish%20because%20I%20really%20think%20you%20could%20have%20a%20better%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3378210%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3378210%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570951%22%20target%3D%22_blank%22%3E%40mtarler%3C%2FA%3E%26nbsp%3BThank%20you%20so%20much%2C%26nbsp%3B%3C%2FP%3E%3CP%3EFacing%20issue%20in%20applying%20the%20%22%3D_xlfn.XLOOKUP(SUM(Table2%5B%5B%23Headers%5D%2C%5BAmount%5D%5D%3A%5B%40Amount%5D)-%5B%40Amount%5D%2B0.1%2Creceipts%5Bcumulative%5D%2Creceipts%5Bunique%20ID%5D%2C%2C1)%22%20formula%20in%20billing%20sheet%20as%20attached%20below.%3C%2FP%3E%3CP%3ECan%20you%20please%20guide.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3378989%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3378989%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570951%22%20target%3D%22_blank%22%3E%40mtarler%3C%2FA%3E%2C%20when%20sheet%20is%20opened%20Xlookup%20formula%20in%20billing%20sheet%20turned%20into%20%23name%20error.%20%3D_xlfn.XLOOKUP(SUM(Table2%5B%5B%23Headers%5D%2C%5BAmount%5D%5D%3A%5B%40Amount%5D)-%5B%40Amount%5D%2B0.1%2Creceipts%5Bcumulative%5D%2Creceipts%5Bunique%20ID%5D%2C%2C1)%3C%2FP%3E%3CP%3EHow%20can%20I%20solve%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3380302%22%20slang%3D%22en-US%22%3ERe%3A%20Need%20formula%20to%20track%20unpaid%20bills%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3380302%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1377078%22%20target%3D%22_blank%22%3E%40Rizwan_Hussain%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BAh%2C%20you%20must%20have%20an%20older%20version%20of%20Excel%20that%20doesn't%20recognize%20XLOOKUP.%26nbsp%3B%20I%20have%20changed%20it%20to%20use%20INDEX(%20MATCH%20()%20)%20combo%20in%20the%20attached.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi, is there any formula in excel or technique to place bills existing in another sheet to place under receipt and remaining bills under the 2nd receipt and so on.

10 Replies
We really need more information and a sample sheet/workbook would help a lot.
That said if you have a list and a criteria then on another sheet you can use the FILTER() function to show all the items on the list/table that match your criteria. (you can also use pivot tables or power query)

@mtarler thanks for the response.

Sheet A contains list of receipts from customer and sheet B contains number of bills invoiced to customer. Problem is that there is no common identifier in both sheets. I want to place the number of bills from sheet B against receipts in sheet A upto the receipt amount. Sample are attached below;receipts #.JPGBill #.JPG

@Rizwan_Hussain I still don't think we have enough information.  I took a stab at it and made an assumption that the bills were in order of the receipts and used the cumulative totals but I don't think that is the case.  Here is the attachment but i think we need more information on HOW you expect the items to get matched up.

@mtarler Below sample is attached performed on one receipt. Bill amount from billing sheet upto receipt amount 2,237,003 is extracted and placed under receipt amount manually. I want to develop a formula that helps me in extracting billing amount and place under receipt amount.

@Rizwan_Hussain I'm still unclear what you need.  In the example I sent I think I did what you want.  I am attaching your sheet with the previous formulas (modified a little) and color coded a bit.  So on the Receipt sheet I added a cumulative column and on the Billing sheet I added Receipt# sheet which creates that "tie back" to the receipt sheet you wanted.  If you need to combine the 2 tables together that is another step (or better yet would be if you could use a pivot table depending on what you need).

I formatted both as tables as that should improve the overall performance over referencing arbitrarily long columns unnecessarily.

The formulas just take the receipts sequentially as you noted there is not other 'tie-back' to use and even the dates are not in order.

@mtarler Thanks for the response,

But there is a little problem with this approach if receipts number column is showing the description in cash / Visa instead of receipts number as appearing in previously shared sample. Further Attached sample is explaining completely my requirements in "desired sheet". Computation performed manually.

@Rizwan_Hussain I don't see any example of 'cash / Visa' in any of the files. If those codes mean that to you, fine but I don't have a clue. I used the column under Receipts called Receipt Number because it looked like a unique ID but if that isn't the case then just add another column that is a unique ID (e.g. =ROW() would work)
As for your "desired sheet" it is both a pain to do and not particularly useful for any further calculations or analysis. I suspect this is purely for printing a report for someone who is used to seeing it this way.   In the attached I added this 'unique id' column as noted, joined the tables and created a pivot table using the combined data into a format at least very close to your 'desired output'.

I really wish I could better understand what you are actually trying to do/accomplish because I really think you could have a better solution.

@mtarler Thank you so much, 

Facing issue in applying the "=_xlfn.XLOOKUP(SUM(Table2[[#Headers],[Amount]]:[@Amount])-[@Amount]+0.1,receipts[cumulative],receipts[unique ID],,1)" formula in billing sheet as attached below.

Can you please guide.

@mtarler, when sheet is opened Xlookup formula in billing sheet turned into #name error. =_xlfn.XLOOKUP(SUM(Table2[[#Headers],[Amount]]:[@Amount])-[@Amount]+0.1,receipts[cumulative],receipts[unique ID],,1)

How can I solve this?

 

Thanks for the support.

@Rizwan_Hussain   Ah, you must have an older version of Excel that doesn't recognize XLOOKUP.  I have changed it to use INDEX( MATCH () ) combo in the attached.