• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Distribute value

Thomas Kuriakose

Active Member
Respected Sirs,

We have a file with values to be distributed proportionately.

For each name in A4:A8, the value D2 should be apportioned in D4:D6 based on percentage of C4:C6.
For each name in A4:A8, the value E2 should be apportioned in D7:D8 based on percentage of C7:C8.

The expected results are in G4:G8.

Thank you very much,

with regards,
thomas
 

Attachments

  • Distribute Values.xlsx
    10.3 KB · Views: 12
Respected Sir,

Thank you very much for the solution provided. Much appreciated.

The actual file has a lot of names.

Kindly guide on how to reference the names when there are multiple entries without entering each name.

Thank you very much,

with regards,
thomas
 
Respected Sir,

Thank you very much for the solution provided. Much appreciated.

The actual file has a lot of names.

Kindly guide on how to reference the names when there are multiple entries without entering each name.

Thank you very much,

with regards,
thomas

If the name list more than 2, then used INDEX+MATCH

e.g.

=INDEX(D$2:F$2,MATCH(A4,{"TK","BD","CT"},0))

which is better to adopt CHOOSE+MATCH

Regards
Bosco
 
Respected Sirs,

Apologies for not giving all the requirements.

Thank you so much for the support and guidance on this.

I have now clipped the almost original file(a copy), where data is in two tabs. The Actual tab has the reference number, name and value. The lookup tab has name and the value to be distributed in Actual tab D2 to D31 based on values in C2 to C31 for the corresponding names.

Thank you very much once again.

with regards,
thomas
 

Attachments

  • Distribute Values.xlsx
    14.4 KB · Views: 6
see attached.
=INDEX(Lookup!$B$2:$B$11,MATCH($B2,Lookup!$A$2:$A$11,0))*C2/SUMIF($B$2:$B$31,B2,$C$2:$C$31)

or:
=VLOOKUP(B2,Lookup!$A$1:$B$11,2,0)*C2/SUMIF($B$2:$B$31,B2,$C$2:$C$31)
 

Attachments

  • Chandoo36161Distribute Values v2.xlsx
    13.8 KB · Views: 7
Back
Top