Forum Discussion

saalgarni's avatar
saalgarni
Copper Contributor
Aug 22, 2022

How to calculate amount based on different categories?

Hi,

 

I have worksheet with the following:
Procedures; subcategorized to a,b,c and I want to calculate the amount for each one of them based on specific formula. e.g. if a, amount= 50/100 but if b, amount= 30/100.

 

Is it possible to do this? 

 

Thanks

6 Replies

  • Harun24HR's avatar
    Harun24HR
    Bronze Contributor
    Yes, possible. Attach a sample file and show your desired result.
    • saalgarni's avatar
      saalgarni
      Copper Contributor

      Harun24HR Thank you so much for your help

       

       Procedure CostMy share
      DateEMG1630315
      DateEMG13533
      DateEEG2344
      DateNCS36685
      Total 71336397

      My share should be based on 2 conditions. 1- type of procedure in Column two. 2- Cost.

      EMG e.g. the amount in my share should be 30% of the cost column. EEG, my share amount is 40% (40/100) of the cost. NCSA, my share is 50% of the cost amount. 

       

      what formula I can use to get these automatically.

       

      Thanks again for your help

Resources