Skip to Content

Formula help

Hi,

I have below report table, could you help on the questionmark placeholder same unit same HOD, same HOD diff Unit, Different HOD are the column headers where below kf to be derived based on condition..

Key figure: Commitment Amt

Requirment:

Same HOD Same unit arrive the above key figure

Same HOD Diff Unit arrive the above key figure

Diff HOD arrive the above key figure where it is not equal to Same HOD Same unit AND Same HOD Diff Unit

Regards,

Dinya.

capture.jpg (41.4 kB)
capture.jpg (41.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Mar 20, 2017 at 08:50 PM

    Hi,

    Try this formula,

    =If( ([HOD] = Previous([HOD])) And ([ManagingUn] = Previous([ManagingUn]) ) )Then [Commitment Amt]

    Check if this brings you right results.

    Follow the same with other scenarios.

    Thanks,

    Jothi

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 21, 2017 at 03:08 AM

    Hi,

    Thanks for your quick reply.

    Indeed very helpfull, Please find the below output for your formula. same record data not showing for ? placeholder. Could you please help with the same data to display.

    Iam looking for some kind of flag in the next to key figure column:

    =If( ([HOD] = Previous([HOD])) And ([ManagingUn] = Previous([ManagingUn]) ) )Then 1.

    It is displaying 1 only for 2nd record not for the first record as below

    Regards,

    Dinya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 21, 2017 at 09:49 AM

    H Dinya,

    Did you tried the same formula with replacing previous record with next record.

    regards,

    krishna

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 21, 2017 at 11:15 AM

    Hi Krishna,

    The below formula

    =If( ([HOD] = Previous([HOD])) And ([ManagingUn] = Previous([ManagingUn]) ) )Then 1

    results as

    I am also expecting flag 1 for first record as well in place of ? placeholder.

    Regards,

    Dinya

    Add comment
    10|10000 characters needed characters exceeded