Consulting

Results 1 to 4 of 4

Thread: Formula to look for a cell phrase and add a cost

  1. #1

    Formula to look for a cell phrase and add a cost

    Folks,

    I should know this but I cannot get to grips with it.

    The attached spreadsheet has different printer types in col A and I need a formula to look in the cells in coloumn A and then place cost in Column B depending on the type of printer Column A contains. The printer type forms part of a long text string and the position of th eprinter type within that is inconsistent.

    This could either be a formula to reference the suggested costs in ColumI or a formula that allows us to enter the cost as part of the formula.
    Attached Files Attached Files
    Last edited by LutonBarry; 09-30-2019 at 06:34 AM.

  2. #2
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    What were you trying to do? What is the string that you want to build?
    Last edited by Kenneth Hobs; 09-30-2019 at 10:03 AM.

  3. #3
    Kenneth, Not sure this reply was meant for this thread?

  4. #4
    Solved when I got home and cleared my head.

    Add a couple of Named Ranges with the printer types and the charges in another and bingo.

    =INDEX(Charge,MATCH(TRUE,ISNUMBER(SEARCH(Printer,A2)),0))

Posting Permissions

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