Forum

Notifications
Clear all

Excel Formula

8 Posts
2 Users
0 Reactions
58 Views
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Hi Team,

Can you please get me an excel formula for the attached.It is similar to the one Sunny has provided sometimes ago. I just cant get this one work.

Thank you so much.

Regards,

Aye

 
Posted : 14/03/2019 2:53 am
(@sunnykow)
Posts: 1417
Noble Member
 

In cell L2 enter

=IF(COUNTIFS($D$2:D2,D2,$B$2:B2,B2)=1,H2,L1)

Hope this helps.

Sunny

 
Posted : 14/03/2019 4:27 am
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Hi Sunny,

Thank you so much for your prompt reply.

the formula works.

Now I have a new constraint. I have attached my intended formula for the work sheet.

Thank you.

Regards,

Aye

 
Posted : 14/03/2019 6:32 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Aye Mu

Can you please recheck your attachment? I think your proposed answers are inaccurate.

Make sure that your proposed answers are all correct.

I also noticed there are negative values in row 16.

 
Posted : 14/03/2019 8:06 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Furthermore how do you get the highest rate?

If there is only 1 line then the highest rate in at the line itself.

 
Posted : 14/03/2019 8:16 pm
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Hi Sunny,

I am sorry, I was just checking the unhide one.

Please check the updated one now.

Many thanks, Sunny.

regards,

Aye

Hi Sunny,

If there is only one line, highest rate is the rate itself.

If there is more than one line, the rate(total) should be the highest rate if the category is not the same. 

If the category is the same, the rate(total) should be the same as itself.

Thanks, Sunny

 
Posted : 14/03/2019 8:19 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Aye Mu

I still don't understand the logic to calculate the amount.

This is as close as I can get. Not sure whether which of our answers are correct for cells K2 and K24.

Can you explain how you got the answers for cells K2 and K24?

Sunny

 
Posted : 15/03/2019 9:03 pm
(@ayemu7)
Posts: 197
Reputable Member
Topic starter
 

Hi Team,

I will require to work out how much less funding we receive over the period.

funding has the 'Cat' as Category.

If the 'Cat' are the same for the same period for the same ID, we can just assume that we do not have any less funding and the different will be '0' which is (current 'Total' will be the same as 'Proposed Total')

If the 'Cat' are not the same for the same period for the same ID, we will have to calculate what would be received if we do not receive reduce funding 'Cat' . In that case we will have to calculate 'Days' * higher 'Revised Rate'

Please note 'Total' is not always the result of 'Days' * 'Rate' 

I have logged this call and Sunny replied me before. However there are some issue on the reply and I could not see the reply as well as I cannot attach and edit any on my previous log.

I have been advised to attached the file via help desk.

Thank you so much Team.

Regards,

Aye

 

PS. Can you also let me know if there is a way to filter out all the line without any adjustment.

In my case I would like to remove the lines if there is only one line for the same 'Date', same 'ID'. If there is reduction in funding, it will come with more than one line for the same 'Date' for the same 'ID' and I just have to find out reduction / adjustment amount for the same 'Date' for the same 'ID'.

 
Posted : 18/03/2019 11:21 pm
Share: