# Calculate percentages between 2 cells in Excel

I'm trying to meet a rule. I need to calculate the percentage between the past due balance cell, G2, and the previous year sales cell, E2. And I want to get a true or false statement to fulfill rule 3. I'm struggling to figure out the formula. |
The percentage depends on the perspective... If we assume that we have 2 values A and B, and A=5 and B=4 we can can ask 2 questions:

How much of B is in A?

Which means A is the maximum and thus is associated with 100%, therefore the calculation is B/A = 4/5 = 0.8 = 80%

How much is A over B?

Which means B is the maximum and thus is associated with 100%, therefore the calculation is A/B = 5/4 = 1.25 = 125%

In my example, A and B have the same unit, but your values do not. Of course both are \$ amounts, but one is "Sales" and the other is "Balance"...

I can sale goods for \$1 and my bank account shows \$1.000.000 or
I can sale goods for \$1.000.000 and my bank account shows \$1
There is no logical dependence between the two, right?

Andreas.

Sorry this didn't help.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?
{"ft_lang_label":"__label__en","ft_lang_prob":0.91803133,"math_prob":0.97670037,"size":3146,"snap":"2021-31-2021-39","text_gpt3_token_len":724,"char_repetition_ratio":0.08847868,"word_repetition_ratio":0.5009141,"special_character_ratio":0.23331214,"punctuation_ratio":0.15091464,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9955371,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-07-31T22:40:11Z\",\"WARC-Record-ID\":\"<urn:uuid:484ecf70-c81f-489c-bacd-8c22ab1da3f0>\",\"Content-Length\":\"166555\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c366890d-6e61-47c5-85c8-83e776a76227>\",\"WARC-Concurrent-To\":\"<urn:uuid:8607bef2-4c65-4d94-af6f-54ef4cb4aa0e>\",\"WARC-IP-Address\":\"69.192.186.111\",\"WARC-Target-URI\":\"https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_winother-mso_365hp/calculate-percentages-between-2-cells-in-excel/e54e9c88-24b4-445d-9173-dc335e80d907\",\"WARC-Payload-Digest\":\"sha1:HPZUVJ6MEEK7OCT5WVTDGZWLR5AGZ44G\",\"WARC-Block-Digest\":\"sha1:BC32UZIKKRJEPUE76AFLNA7G7475EJQ6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046154126.73_warc_CC-MAIN-20210731203400-20210731233400-00636.warc.gz\"}"}