+ Reply to Thread
Results 1 to 4 of 4

multiply several different rows in a colum beginner

Hybrid View

gt5228 multiply several different... 04-09-2013, 08:19 PM
FDibbins Re: multiply several... 04-09-2013, 08:36 PM
gt5228 Re: multiply several... 04-09-2013, 10:04 PM
FDibbins Re: multiply several... 04-10-2013, 01:31 AM
  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    michigan
    MS-Off Ver
    Excel 2007
    Posts
    2

    multiply several different rows in a colum beginner

    see attached file for example. so i have a chart. say it has 5 colums a,b,c,d,e and 3 rows 1,2,3. (it really has hunreds) all rows have different values (numbers). some rows need to be multiplied. lets say b1 is 3 and b2 is 5, and d colums are blank. what if i need to autommatically multiply each value in b colum by 2 to make d1 now have 6 and d2 to have 10? is there a way to do this without having to conditionally format each row hundreds of times?
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: multiply several different rows in a colum beginner

    Hi and welcome to the forum

    the file you attached seems to bare no sesemblance to the example you stated above?

    if you want D1 to be B1 * 2, then thats exactly how you enter it...=B1*2 you can then copy/paste that down as far as you need to

    tip: if you look at the bottom right of the cell ther cursor is in (say D1) you will see the corner leeks like a small black square. If you aim the mouse at that small square, and then double-left-click on it, it will copy down to the 1st empty cell in C
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-09-2013
    Location
    michigan
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: multiply several different rows in a colum beginner

    Thanks for saving me some time. Maybe you could answer this...? So once rows are multiplied, the prouct is multiplied by a quantity. For some reason the plank quantity cells are counted as 1 isntead of 0. I know that i can just just fill in 0 but is there a way to meke the cells in quantity colum be 0 if left blank? Ex. So b2 is 5 and c2(b2*2)is 10. D2 is left blank to be filled in with a quantity, lets say 2. Then e2 is c2*quantity(d2) giving me a total for that row. If i leave d2 blank then excel assumes its 1 and e2 is still 10. I would like e2 in this case to be 0 unless a different a quantity is added. Is this possable? I want the quantity to always return to 0 if deleted. I guess long story short i need the default value in a colum to be 0 unless a value is entered

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: multiply several different rows in a colum beginner

    Quote Originally Posted by FDibbins View Post
    the file you attached seems to bare no sesemblance to the example you stated above?
    PLEASE upload the correct file, i am not going to guess at what data you are talking about

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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