• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Replace conditional if with Index match

abhi2611

Member
Hi,

Is there a way I could replace conditional if with any other function in excel. Below is an example.

Current Scenario:
A 10
B 20
C 15
D 30
E 35

Output I am looking for is,

A
A
A
A
A
A
A
A
A
A
B - 20times
C - 15 times
......So on.

I could do a cum on the numbers and do a conditional if..but ai have more than 100 variables.

Any help is appreciated.

Thank you.
 
Back
Top