Please i need help with proper functions

kvemperor

New Member
Joined
Jan 13, 2023
Messages
31
Office Version
  1. 2021
Platform
  1. Windows
I am shop owner and this is a sample so i know from my suppliers what i owe .i am writing the invoice number and the invoice value and how much money i am giving, so i know always the balance(how much i still owe every time).
How can i make the number of invoice to be in the same row with the transaction number, and the number of paydown payment to be also, with its own transaction number,(columns A and C and columns D and E be parallelized)
In cell A10 i have out the form
=IFERROR("Νο. " & SEQUENCE(COUNTA(C10:C1000));" ")
In cell D10 i have put the form
=IFERROR("Νο. " & SEQUENCE(COUNTA(E10:E1000));" ")

Ι found a solution with theses functions
cell A10
=IF(C10="","","Νο."&COUNTA($C$10:C10))
and
cell D10
=IF(E10="","","Νο."&COUNTA($E$10:E10))
but these functions need to be dragged down.i need to be spilled instead.
It would be more handy instead of dragged down be spilled.its more automatic
I am thinking from a combination with the sequence function
Thank you in advance

CLIENT NAME .xlsx
ABCDEFGHI
1 ΝΑΜΕ OF CUSTOMER
2
3
4
5
6
7TRANSACTION NUMBER VALUE OF INVOICE NUMBER OF INVOICETRANSACTION NUMBER VALUE OF PAYDOWN PAYMENT DATE NEW BALANCE
8
9- €
10Νο. 1500,00 €INVOICE No 5Νο. 105/1/2023500,00 €
11Νο. 2Νο. 2300,00 €06/1/2023200,00 €
12Νο. 3500,00 €INVOICE No 607/1/2023700,00 €
13500,00 €INVOICE No 708/1/20231.200,00 €
14100,00 €09/1/20231.100,00 €
15
16
17
18
ΕΤΑΙΡΙΑ
Cell Formulas
RangeFormula
A10:A12A10=IFERROR("Νο. " & SEQUENCE(COUNTA(C10:C1000))," ")
D10:D11D10=IFERROR("Νο. " & SEQUENCE(COUNTA(E10:E1000))," ")
G9:G14G9=B9+G8-E9
Dynamic array formulas.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Welcome to the MrExcel Message Board! :)

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:

There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
It sounds like you want to use a dynamic array formula that automatically spills down the "Νο." and transaction number when new data is added to columns C and E. You can use the FILTER function in combination with the SEQUENCE function to achieve this.

For column A, you can use the following formula: =IF(C10:C1000="","",FILTER(SEQUENCE(COUNTA(C10:C1000)),C10:C1000<>""))

For column D, you can use the following formula: =IF(E10:E1000="","",FILTER(SEQUENCE(COUNTA(E10:E1000)),E10:E1000<>""))

This will automatically spill down the "Νο." and transaction numbers in columns A and D whenever new data is added to columns C and E.

Please note that this uses dynamic array formula which are only supported in Office 365 and later versions of excel
 
Upvote 0
It sounds like you want to use a dynamic array formula that automatically spills down the "Νο." and transaction number when new data is added to columns C and E. You can use the FILTER function in combination with the SEQUENCE function to achieve this.

For column A, you can use the following formula: =IF(C10:C1000="","",FILTER(SEQUENCE(COUNTA(C10:C1000)),C10:C1000<>""))

For column D, you can use the following formula: =IF(E10:E1000="","",FILTER(SEQUENCE(COUNTA(E10:E1000)),E10:E1000<>""))

This will automatically spill down the "Νο." and transaction numbers in columns A and D whenever new data is added to columns C and E.

Please note that this uses dynamic array formula which are only supported in Office 365 and later versions of excel
I have version office 2021.it writes to me value error.i tryed to open it also with excel web version and gives me the same error
 
Upvote 0
Welcome to the MrExcel Message Board! :)

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:

There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
Ok.i am sorry.i didn't knew that.I will know it for future posts
If i put an other thread here and the same thread get posted also in other site or forum ,i will put the link of the other thread here
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top