+ Reply to Thread
Results 1 to 3 of 3

Stuck with an =IF

  1. #1
    Mark R...
    Guest

    Stuck with an =IF

    I would like to find out if the formula I am using below is limited to eight
    entries. I have names in column B (Mark, Matt, etc.) that have numbers
    assigned to them in column A (1, 2, 3, etc.) and value’s in column C (5.5,
    1.0, 2.6, etc.) When I type a number in column E (1, 2, 3, etc.) I would
    like the value from column C to be inputted into column E. The formula works
    below, however it is limited to eight entries and I have 40 in column B, A
    and C. This maybe basic; however, I am somewhat new at this. I am using
    Excel 2003

    Please Help

    =IF(E2=1,$C$2,IF(E2=2,$C$3,IF(E2=3,$C$4,IF(E2=4,$C$5,IF(E2=5,$C$6,IF(E2=6,$C$7,IF(E2=7,$C$8,IF(E2=8,$C$9,""))))))))

  2. #2
    Ron Coderre
    Guest

    RE: Stuck with an =IF

    Try something like this:

    =INDEX($C$2:$C$100,E2,1)

    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "Mark R..." wrote:

    > I would like to find out if the formula I am using below is limited to eight
    > entries. I have names in column B (Mark, Matt, etc.) that have numbers
    > assigned to them in column A (1, 2, 3, etc.) and value’s in column C (5.5,
    > 1.0, 2.6, etc.) When I type a number in column E (1, 2, 3, etc.) I would
    > like the value from column C to be inputted into column E. The formula works
    > below, however it is limited to eight entries and I have 40 in column B, A
    > and C. This maybe basic; however, I am somewhat new at this. I am using
    > Excel 2003
    >
    > Please Help
    >
    > =IF(E2=1,$C$2,IF(E2=2,$C$3,IF(E2=3,$C$4,IF(E2=4,$C$5,IF(E2=5,$C$6,IF(E2=6,$C$7,IF(E2=7,$C$8,IF(E2=8,$C$9,""))))))))


  3. #3
    Mark R...
    Guest

    RE: Stuck with an =IF

    Thank you for you're help

    Mark

    "Ron Coderre" wrote:

    > Try something like this:
    >
    > =INDEX($C$2:$C$100,E2,1)
    >
    > Does that help?
    >
    > ***********
    > Regards,
    > Ron
    >
    > XL2002, WinXP-Pro
    >
    >
    > "Mark R..." wrote:
    >
    > > I would like to find out if the formula I am using below is limited to eight
    > > entries. I have names in column B (Mark, Matt, etc.) that have numbers
    > > assigned to them in column A (1, 2, 3, etc.) and value’s in column C (5.5,
    > > 1.0, 2.6, etc.) When I type a number in column E (1, 2, 3, etc.) I would
    > > like the value from column C to be inputted into column E. The formula works
    > > below, however it is limited to eight entries and I have 40 in column B, A
    > > and C. This maybe basic; however, I am somewhat new at this. I am using
    > > Excel 2003
    > >
    > > Please Help
    > >
    > > =IF(E2=1,$C$2,IF(E2=2,$C$3,IF(E2=3,$C$4,IF(E2=4,$C$5,IF(E2=5,$C$6,IF(E2=6,$C$7,IF(E2=7,$C$8,IF(E2=8,$C$9,""))))))))


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1