+ Reply to Thread
Results 1 to 12 of 12

Find a string in column A and multiply x into corresponding value in column B

  1. #1
    Registered User
    Join Date
    06-01-2016
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    12

    Find a string in column A and multiply x into corresponding value in column B

    Sample.JPG


    Please check the image for sample.

    the Output should be needed up to two decimal places only.



    Appreciate your help.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Find a string in column A and multiply x into corresponding value in column B

    Im not sure what youre looking for? If youre just wanting to round the answer to two digits then
    Please Login or Register  to view this content.
    will do it?
    If someone has helped you then please add to their Reputation

  3. #3
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: Find a string in column A and multiply x into corresponding value in column B

    You can format col B with number & 2 decimal places. Right Click col B & then choose Format Cells, under category choose Number and in Decimal Places use 2.
    Kamboj
    _________________________________________________________________________________
    Mark the thread as SOLVED if my answer satisfy you.

  4. #4
    Registered User
    Join Date
    06-01-2016
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    12

    Re: Find a string in column A and multiply x into corresponding value in column B

    Thanks guys for your reply

    but my requirement is not so simple , i have around 10000 records which contain lot of information in which one of the row have the string value "Amount" in a column A and Column B contain the actual amount say 25.50.

    I want to search this string "Amount" and multiply the column B value by 1.07.

    Hope this clarifies.

  5. #5
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: Find a string in column A and multiply x into corresponding value in column B

    In Col C use this
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    06-01-2016
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    12

    Re: Find a string in column A and multiply x into corresponding value in column B

    Thanks for your reply.

    but above formula i have to put it in a separate column, what i want to do is search existing colum find "Amount" and do B1*1.07.

    Can it be put it into a macro?

  7. #7
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,526

    Re: Find a string in column A and multiply x into corresponding value in column B

    How about this?
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,835

    Re: Find a string in column A and multiply x into corresponding value in column B

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-22-2013
    Location
    india
    MS-Off Ver
    office 365
    Posts
    7

    Re: Find a string in column A and multiply x into corresponding value in column B

    I have a formula
    formula.png for which values for certain cells are changing each week and I have to arrive at Net Landed costs.
    table.png
    I have for each different values that will change the landed costs.
    As i understand excel I need to create different worksheets for each week to get correct results. can anybody suggest better way.

    Thanks in Anticipation.

  10. #10
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,204

    Re: Find a string in column A and multiply x into corresponding value in column B

    k_paresh, unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  11. #11
    Registered User
    Join Date
    06-01-2016
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    12

    Re: Find a string in column A and multiply x into corresponding value in column B

    Thanks a lot

  12. #12
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,526

    Re: Find a string in column A and multiply x into corresponding value in column B

    Thanks for adding rep points.

+ 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] To Find if a text string contains key words in column B and C and set to value in column D
    By alice2011 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-27-2015, 11:42 AM
  2. Replies: 8
    Last Post: 09-16-2014, 09:49 AM
  3. [SOLVED] Find specific values and multiply them by a number in their column
    By Thomas92W in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-29-2014, 01:22 PM
  4. [SOLVED] Find string in Column A then verify Date in Column B
    By Nu2Java in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-17-2012, 07:13 PM
  5. Replies: 1
    Last Post: 07-12-2012, 02:29 PM
  6. Replies: 5
    Last Post: 06-10-2010, 09:45 AM
  7. Replies: 8
    Last Post: 08-06-2009, 09:02 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