Find percentage of reconciliation

askall1000

Board Regular
Joined
Jan 3, 2019
Messages
58
Office Version
  1. 2016
Platform
  1. Windows
Thank you in advance. I want to find the percentage of completed reconciliation in F2 cell, this is only part of whole data, my table goes 100, 102, 120 etc (not serial). There are also sub accounts; I am trying to do when I enter account code to F1, F2 will show me how much is completed base on reference column with Ref* and main account e.g 102.


sil01.xlsx
ABCDEF
1Account Code100
2Percentage of complete
3Account CodeTotalReference
410092.789,69
5100 0155.800,00
6100 01 00155.800,00
7100 0236.989,69
8100 02 0014.222,70
9100 02 00232.766,99
101024.046.887,96
11102 0190.311,81
12102 01 00243.606,48RefB003
13102 01 0037.503,73RefB002
14102 01 00528,44RefB004
15102 01 0066,35x
16102 01 00739.166,81RefB001
17102 020,00
18102 02 0010,00
19102 02 0020,00
20102 033.956.576,15
21102 03 0012.885.970,19RefB003
22102 03 002532.722,97RefB003
23102 03 003537.882,99RefB003
Sheet1
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
See if this does what you need
Book1
ABCDEF
1Account Code102
2Percentage of complete50%
3Account CodeTotalReference
410092,789.69
5100 0155,800.00
6100 01 00155,800.00
7100 0236,989.69
8100 02 0014,222.70
9100 02 00232,766.99
101024,046,887.96
11102 0190,311.81
12102 01 00243,606.48RefB003
13102 01 0037,503.73RefB002
14102 01 00528.44RefB004
15102 01 0066.35x
16102 01 00739,166.81RefB001
17102 02-
18102 02 001-
19102 02 002-
20102 033,956,576.15
21102 03 0012,885,970.19RefB003
22102 03 002532,722.97RefB003
23102 03 003537,882.99RefB003
Sheet3
Cell Formulas
RangeFormula
F2F2=SUM(COUNTIFS($C$4:$C$23,"Ref*",A4:A23,CHOOSE({1,2},F1,F1&"*")))/SUM(COUNTIF(A4:A23,CHOOSE({1,2},F1,F1&"*")))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
See if this does what you need
Book1
ABCDEF
1Account Code102
2Percentage of complete50%
3Account CodeTotalReference
410092,789.69
5100 0155,800.00
6100 01 00155,800.00
7100 0236,989.69
8100 02 0014,222.70
9100 02 00232,766.99
101024,046,887.96
11102 0190,311.81
12102 01 00243,606.48RefB003
13102 01 0037,503.73RefB002
14102 01 00528.44RefB004
15102 01 0066.35x
16102 01 00739,166.81RefB001
17102 02-
18102 02 001-
19102 02 002-
20102 033,956,576.15
21102 03 0012,885,970.19RefB003
22102 03 002532,722.97RefB003
23102 03 003537,882.99RefB003
Sheet3
Cell Formulas
RangeFormula
F2F2=SUM(COUNTIFS($C$4:$C$23,"Ref*",A4:A23,CHOOSE({1,2},F1,F1&"*")))/SUM(COUNTIF(A4:A23,CHOOSE({1,2},F1,F1&"*")))
Press CTRL+SHIFT+ENTER to enter array formulas.
thank you very much for your time, but maybe i couldn't explain clearly, as a numeric example my result should be like this for 102 account: sum(b12:b14;b16;b21:b23)/b10. when i changed 102 to 100 or other account it must be sum all numbers if there is ref* and divide it with main account.
 
Upvote 0
sum(b12:b14;b16;b21:b23)/b10
Why is B13 excluded?

Assuming that is should be included, try
Excel Formula:
=SUMIFS($B$4:$B$23,$C$4:$C$23,"Ref*",$A$4:$A$23,F1&"*")/VLOOKUP(F1,$A$4:$B$23,2,0)
 
Upvote 0
Solution
Why is B13 excluded?

Assuming that is should be included, try
Excel Formula:
=SUMIFS($B$4:$B$23,$C$4:$C$23,"Ref*",$A$4:$A$23,F1&"*")/VLOOKUP(F1,$A$4:$B$23,2,0)
It is included and thank you very much, it is what I was looking. When I enter f1 as a value it gave error i needed to enter as '102 is there alternative when i enter value also recognize as text or vice versa to the range.
 
Upvote 0
If the main account numbers in the table could be text then it will be problematic. With F1 being text, you could simply coerce it with
Excel Formula:
=SUMIFS($B$4:$B$23,$C$4:$C$23,"Ref*",$A$4:$A$23,F1&"*")/VLOOKUP(--F1,$A$4:$B$23,2,0)
but it would be more logical to avoid using text there to begin with.
 
Upvote 0
If the main account numbers in the table could be text then it will be problematic. With F1 being text, you could simply coerce it with
Excel Formula:
=SUMIFS($B$4:$B$23,$C$4:$C$23,"Ref*",$A$4:$A$23,F1&"*")/VLOOKUP(--F1,$A$4:$B$23,2,0)
but it would be more logical to avoid using text there to begin with.
Unfortunately, I pull the data from software and main accounts in table is given text but it is not a big deal i could enter as a text to f1. Thank you again for your help.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,862
Members
449,052
Latest member
Fuddy_Duddy

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