Reference cell content

%3CLINGO-SUB%20id%3D%22lingo-sub-1984503%22%20slang%3D%22en-US%22%3EReference%20cell%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1984503%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20I%20want%20to%20create%20a%20table%20were%20the%20user%20only%20has%20to%20enter%20data%2C%20and%20only%20specific%20columns%20from%20the%20table%20and%20not%20to%20enter%20all%20the%20fields%20all%20the%20time.%20So%2C%20what%20the%20user%20basically%20does%20is%20enter%20ID%2C%20Cost%2C%20Quantity%20and%20payed%20amount.%20Based%20on%20those%20columns%2C%20TOTAL%20and%20DUE%2C%20could%20be%20calculated%20by%20formula.%20Since%20every%20ID%20number%20is%20an%20operation%2C%20then%20a%20lot%20of%20ID%20numbers%20can%20be%20entered%20in%20a%20period%20of%20time%20and%20that%20is%20why%20it%20is%20important%20the%20user%20doesn't%20need%20to%20look%20for%20the%20due%20amount%20or%20the%20payed%20amount.%20So%20this%20is%20the%20table%20that%20I%20want%20to%20generate.%20(I'm%20also%20attaching%20a%20table%20to%20the%20thread%20but%20I%20am%20trying%20to%20display%20an%20excel%20table%20to%20illustrate%20my%20point)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E%3CEM%3EA%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3E%3CEM%3EB%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3E%3CEM%3EC%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2219.88950276243094%25%22%20height%3D%2229px%22%3E%3CEM%3ED%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3E%3CEM%3EE%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3E%3CEM%3EF%3C%2FEM%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E%3CEM%3E1%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3EID%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3Eunit%20cost%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3Equantity%3C%2FTD%3E%3CTD%20width%3D%2219.88950276243094%25%22%20height%3D%2229px%22%3Etotal%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3Epayed%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3EDue%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E%3CEM%3E2%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2219.88950276243094%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3E0.5%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3E0.5%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E%3CEM%3E3%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E2%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3E10%3C%2FTD%3E%3CTD%20width%3D%2219.88950276243094%25%22%20height%3D%2229px%22%3E10%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3E10%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3E0%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E%3CEM%3E4%3C%2FEM%3E%3C%2FTD%3E%3CTD%20width%3D%2210.082872928176796%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2220.027624309392262%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%2219.88950276243094%25%22%20height%3D%2229px%22%3E1%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3E0.5%3C%2FTD%3E%3CTD%20width%3D%229.94475138121547%25%22%20height%3D%2229px%22%3E******%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20I%20want%20to%20be%20able%20to%20create%20a%20formula%20in%20the%20F%20column%20(Due%20amounts)%2C%20where%20I'd%20create%20an%20IF%20statement%20to%20see%20if%20an%20ID%20number%20in%20column%20A%20is%20being%20repeated%2C%20if%20True%2C%20then%20I%20need%20to%20calculate%20the%20row%20where%20the%20ID%20repetition%20happens%20and%20substract%20the%20payed%20amount%20in%20the%20last%20E%20column%20(Payed%20amount)%2C%20from%20the%20matching%20Due%20Column%20(F)%20where%20the%20Id%20previously%20happened%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20this%20case%20it%20would%20be%2C%20%3DIF%20A4%20Matches%20any%20row%20in%20the%20same%20column%20(It%20matches%20cell%20A2)%20then%20substract%20that%20F%20cell%20(that%20would%20be%20the%20one%20in%20F2)%20of%20E4%2C%20and%20then%20you%20get%200.%20That%20way%20the%20user%20doesn't%20have%20to%20worry%20about%20looking%20for%20due%20amounts%20or%20payed%20amounts%20and%20he%20only%20enters%20what%20he%20gets%20in%20invoices%20provided%3C%2FP%3E%3CP%3E%26nbsp%3BI'm%20attaching%20a%20sample%20file%2C%20so%20far%20I%20can't%20reference%20a%20cell%20in%20a%20given%20row%20and%20I%20was%20trying%20to%20combine%20the%20MATCH%20function%20with%20an%20IF%20statement%20to%20verify%20the%20ID%20number%20is%20being%20repeated.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1984503%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hello, I want to create a table were the user only has to enter data, and only specific columns from the table and not to enter all the fields all the time. So, what the user basically does is enter ID, Cost, Quantity and payed amount. Based on those columns, TOTAL and DUE, could be calculated by formula. Since every ID number is an operation, then a lot of ID numbers can be entered in a period of time and that is why it is important the user doesn't need to look for the due amount or the payed amount. So this is the table that I want to generate. (I'm also attaching a table to the thread but I am trying to display an excel table to illustrate my point)

 

 ABCDEF
1IDunit costquantitytotalpayedDue
211110.50.5
3211010100
411110.5******

 

So, I want to be able to create a formula in the F column (Due amounts), where I'd create an IF statement to see if an ID number in column A is being repeated, if True, then I need to calculate the row where the ID repetition happens and substract the payed amount in the last E column (Payed amount), from the matching Due Column (F) where the Id previously happened

 

In this case it would be, =IF A4 Matches any row in the same column (It matches cell A2) then substract that F cell (that would be the one in F2) of E4, and then you get 0. That way the user doesn't have to worry about looking for due amounts or payed amounts and he only enters what he gets in invoices provided

 I'm attaching a sample file, so far I can't reference a cell in a given row and I was trying to combine the MATCH function with an IF statement to verify the ID number is being repeated. 

0 Replies