+ Reply to Thread
Results 1 to 6 of 6

Return different values according to the search word by performing multiplication

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Smile Return different values according to the search word by performing multiplication

    Hi

    Thanks in advance for your assistance in helping my little brain from stop exploding

    I need a formula to work similar, but more advanced to this:
    =IF(ISNA(MATCH(TRUE,INDEX(ISNUMBER(SEARCH({"Beautiful","Day","Fish","Banana"},A1)),0),0)),"",B1)

    The difference being that if the search word is "Fish" then it would return a different value to that of "Banana", which in turn would be calculated by multiplying 2 cells. The 2 cells would be unique for "Fish" and unique for "Banana"


    Hope you can help and thanks heaps

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Return different values according to the search word by performing multiplication

    Something like this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    02-29-2012
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Return different values according to the search word by performing multiplication

    Hi,
    Thank you for your reply
    I have attached a spreadsheet to show what I am trying to achieve. Your help is so greatly appreciated.
    I think it is similar to your formula, but slightly different. Eg, If blonde is entered into column A and 15" is entered into B, then the resulting value would be calculated by multiplying the quantity and price per gram.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Return different values according to the search word by performing multiplication

    This seems to work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is an array formula, you have to enter it with Ctrl + Shift + Enter.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-29-2012
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Return different values according to the search word by performing multiplication

    Yeah that looks like it's working. Thank you so much

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Return different values according to the search word by performing multiplication


    ''''''''''''

+ 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. vba code to search all worksheets for a word - if found, return value from A1
    By kday98 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2015, 06:52 PM
  2. A word search to return words found in given fields
    By JonBrett in forum Excel General
    Replies: 2
    Last Post: 03-28-2014, 10:16 PM
  3. Replies: 2
    Last Post: 08-05-2013, 04:45 PM
  4. Replies: 4
    Last Post: 12-21-2012, 10:35 AM
  5. [SOLVED] VBA code to search for a word and return the values of numerous corresponding cells.
    By Schwartz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2012, 03:25 PM
  6. Replies: 1
    Last Post: 01-25-2011, 10:50 PM
  7. Replies: 5
    Last Post: 11-18-2005, 06:10 PM

Tags for this Thread

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