+ Reply to Thread
Results 1 to 6 of 6

what function to use?

  1. #1
    Tiffani
    Guest

    what function to use?

    Here is my scenario, I have in column D either a C or an E. In column C, it
    needs to reference column D so the E=1 or C=100. Can anyone shed some light
    as to how I can do this without coping the cells because its for a price
    change and there are like 7000 rows. Please help!!!

  2. #2
    Duke Carey
    Guest

    RE: what function to use?

    =if(d1="E",1,if(D1="C",100,"Neither"))

    If every single cell that you'll reference in col D has either an E or a C,
    use

    =IF(D1="E",1,100)

    "Tiffani" wrote:

    > Here is my scenario, I have in column D either a C or an E. In column C, it
    > needs to reference column D so the E=1 or C=100. Can anyone shed some light
    > as to how I can do this without coping the cells because its for a price
    > change and there are like 7000 rows. Please help!!!


  3. #3
    Roger Govier
    Guest

    Re: what function to use?

    Hi Tiffani

    Could you give a little more clarification?I'm not understanding exactly
    what you are after.
    It's not that you want
    =IF(D1="C",100,IF(D1="E",1,""))
    is it?

    --
    Regards

    Roger Govier


    "Tiffani" <[email protected]> wrote in message
    news:[email protected]...
    > Here is my scenario, I have in column D either a C or an E. In column
    > C, it
    > needs to reference column D so the E=1 or C=100. Can anyone shed some
    > light
    > as to how I can do this without coping the cells because its for a
    > price
    > change and there are like 7000 rows. Please help!!!




  4. #4
    Registered User
    Join Date
    03-03-2006
    Location
    Queensland, Australia
    Posts
    20
    Tiffani,

    I'd use a VLOOKUP table.

    Create a small table as follows, somewhere on your worksheet, or in a separate worksheet in the same workbook if you like. (Each figure is in a different cell)

    C 100
    E 1

    Then select the range, go to the Insert Menu, Name, and give it a name (e.g. prices)

    In column C (say C2), type the formula =VLOOKUP(D2,prices,2,false)

    Fill C2 down your 7000 rows. All price changes will be made.

    The advantage of doing it this way is that if you ever have to change prices again, you just change the VLOOKUP table, and all of the changes will be made for you.

    Hope this helps.

    Let me know how it goes.

  5. #5
    Tiffani
    Guest

    RE: what function to use?

    Duke,
    Thank you so much. That did it. Here is another question!

    This is a price update from excel to our ProTrac program that we use. This
    particular one is Pass & Seymour and OnQ/Legrand. They are mixed together. Is
    there a way we can extract out the OnQ to another worksheet. Or would we just
    have to like cut and paste.

  6. #6
    Duke Carey
    Guest

    RE: what function to use?

    When you are looking at the data, is there something that obviously
    differentiates one set from the other? If so, you can use Excel's Data->Sort
    features to segregate the data into 2 groups. That'd simplify the cutting
    and pasting

    "Tiffani" wrote:

    > Duke,
    > Thank you so much. That did it. Here is another question!
    >
    > This is a price update from excel to our ProTrac program that we use. This
    > particular one is Pass & Seymour and OnQ/Legrand. They are mixed together. Is
    > there a way we can extract out the OnQ to another worksheet. Or would we just
    > have to like cut and paste.


+ 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