+ Reply to Thread
Results 1 to 5 of 5

Multiply numbers with letters in different cells

  1. #1
    Registered User
    Join Date
    02-18-2015
    Location
    Johannesburg
    MS-Off Ver
    7
    Posts
    2

    Question Multiply numbers with letters in different cells

    eg.xlsx

    Hi Everyone,

    I'm new to this forum; so please forgive if this query has already been answered.

    As given in the attachment; I want help in multiplying only the numbers in the respective columns & the result to be displayed with a prefix in other column.

    eg. entry in column A: 1.06mtr. X 50mtr.
    entry in column B: R 12.50

    required entry in column C: R 662.50 ('R' being the required prefix & 662.50 being the multiplication of the numbers.

    Please guide me if this is possible.

    Any help in this regard would be highly appreciable.

    Regards,

    Pallav

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Multiply numbers with letters in different cells

    I won't solve it like that, but since you ask for it, see the green cells in the attached file.

    Notice I changed the format of the merged cells.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Multiply numbers with letters in different cells

    Try this

    =(LEFT(A3,FIND("mtr.",A3)-1)*SUBSTITUTE(REPLACE(A3,1,SEARCH("x",A3)+1,""),"mtr.",""))*RIGHT(B$3,LEN(B$3)-2)

    Row\Col
    A
    B
    C
    3
    1.06 mtr. X 50 mtr.
    R 12.50
    R 662.50
    4
    1.37 mtr. x 50 mtr.
    R 856.25
    5
    1.60 mtr. x 50 mtr.
    R 1,000.00
    6
    2.20 mtr. x 50 mtr.
    R 1,375.00
    7
    2.50 mtr. x 50 mtr.
    R 1,562.50
    8
    3.20 mtr. x 50 mtr.
    R 2,000.00
    9
    5.00 mtr. X 50 mtr.
    R 3,125.00
    10
    5.00 mtr. X 60 mtr.
    R 3,750.00
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    02-18-2015
    Location
    Johannesburg
    MS-Off Ver
    7
    Posts
    2

    Red face Re: Multiply numbers with letters in different cells

    Awesome!!!

    Thank you guys. You've been of great help.

    @ AlKey. Can you please explain your formula (hope I'm not asking for too much). I really need to understand this so that I can easily apply it with sense.

    Regards,

    Pallav

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Multiply numbers with letters in different cells

    Quote Originally Posted by pallove View Post
    Awesome!!!

    Thank you guys. You've been of great help.

    @ AlKey. Can you please explain your formula (hope I'm not asking for too much). I really need to understand this so that I can easily apply it with sense.

    Regards,

    Pallav
    I use this formula to first numeric value =LEFT(A3,FIND("mtr.",A3)-1 and multiply it y second numeric value with SUBSTITUTE(REPLACE(A3,1,SEARCH("x",A3)+1,""),"mtr.",""))

    then multiply by B3 with this formula RIGHT(B$3,LEN(B$3)-2)



    Don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

+ 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. I need numbers in given cells to multiply by a constant number
    By normanluc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-27-2012, 12:16 AM
  2. Replies: 4
    Last Post: 02-04-2012, 01:46 PM
  3. Sum cells that have numbers and letters in them!
    By anthgav in forum Excel General
    Replies: 4
    Last Post: 01-11-2010, 12:40 PM
  4. sum: cells that contain numbers and letters
    By rdawnh in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-19-2007, 03:32 PM
  5. [SOLVED] Sorting - cells containing numbers, numbers and letters
    By Gunny in forum Excel General
    Replies: 5
    Last Post: 07-15-2006, 08:30 PM

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