Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Find percentage between two matching column values in a different row

I need to find the percentage between finished / unfinished. However I can’t just divide across a single row, as the countries need to match. Is there a specific formula that can help do this?

Below is an example of the data:

COUNTRY UNFINISHED COUNTRY FINISHED
US 500 CA 150
UK 300 US 200
CA 300 UK 170

Is there a way to calculate finished / unfinished, but still have US / US and UK / UK?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

use two vlookups:

=VLOOKUP(F2,C:D,2,false)/vlookup(F2,A:B,2,false)

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading