+ Reply to Thread
Results 1 to 3 of 3

Auto inserting

  1. #1
    Registered User
    Join Date
    11-06-2015
    Location
    cairo
    MS-Off Ver
    ms office 2010
    Posts
    2

    Auto inserting

    Hello everyone,
    i was wondering if there is a formula which could help me associating several words with one defined word, for ex., i have many items..water, milk, juice, and oil. when i write any word of these words...Excel writes "kilo" or "litter" & if i wrote (wood, stone, steel, or cement) Excel writes "ton".....etc
    i used =if(or(.....)) but with many items it goes so slow while writing..is there any other way to solve it....thanks

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Auto inserting

    with the word in row 1 and the associated words below it on sheet2

    With the word to look up in A2 of sheet1

    =INDEX(Sheet2!$A$1:$H$1,SUMPRODUCT((Sheet2!$A$2:$H$10=A2)*COLUMN($A$1:$H$1)))

    The assumption is that each word only appears once in the list (i.e. it won't work if water appears under liter and under gallon).
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-06-2015
    Location
    cairo
    MS-Off Ver
    ms office 2010
    Posts
    2

    Re: Auto inserting

    many thanks ChemistB.. i will replace your items with mine... thanks again for replaying me fast

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Auto-Inserting Percentages
    By Jennifer2010 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-15-2015, 03:28 PM
  2. Auto-number when inserting rows
    By wedzmer in forum Excel General
    Replies: 10
    Last Post: 05-19-2015, 09:28 AM
  3. Auto inserting : into a cell
    By HACKSAWCATS in forum Excel General
    Replies: 1
    Last Post: 04-17-2015, 05:20 AM
  4. Auto Number After Inserting Row
    By macky1730 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2010, 03:50 AM
  5. Auto Inserting Copied Cells
    By whatsmyname in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-26-2010, 10:50 AM
  6. Auto inserting rows and formula
    By MartinjLane in forum Excel General
    Replies: 4
    Last Post: 08-07-2009, 10:34 AM
  7. Auto Inserting numbers
    By Buildscharacter in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2005, 12:40 AM

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