Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 14-03-2015, 11:14 AM
pjphilli (Peter)
Registered User

pjphilli is offline
 
Join Date: Jan 2008
Location: Thornleigh Sydney
Posts: 638
Microsoft Excel Problem

Hi
Although I am reasonably computer literate I have problems with Excel when it comes to using formulas and I find that Help is not very helpful.
Could someone tell me how by using a single formula I can multiply separately each of the contents of all the rows of a column (B) by a single digit for presentation separately in the adjacent rows of the next column (C)?
Hope this makes sense!

Cheers Peter
Reply With Quote
  #2  
Old 14-03-2015, 12:18 PM
Merlin66's Avatar
Merlin66 (Ken)
Registered User

Merlin66 is offline
 
Join Date: Oct 2005
Location: Junortoun Vic
Posts: 8,928
In the first cell of column C enter " = B1*5" where B1 is the first cell in the B column and 5 is the fixed number..
Copy this formula down the C column....
Reply With Quote
  #3  
Old 14-03-2015, 08:41 PM
iborg's Avatar
iborg (Philip)
Registered User

iborg is offline
 
Join Date: Feb 2015
Location: Lynbrook, Australia
Posts: 688
Slight but, type into the cell what is inside the quotes, not the quotes themselves.

I have had someone include the quotes.

Have fun
Reply With Quote
  #4  
Old 15-03-2015, 12:09 AM
DavidLJ's Avatar
DavidLJ (David)
Registered User

DavidLJ is offline
 
Join Date: Jun 2011
Location: Sydney
Posts: 122
As a variation on Ken's suggestion : Enter your multiplier value (say 5) into a cell (say D1). Then in the first cell of column C enter “=B1*D$1” - again omitting the double quotes. Then copy that formula down into all of the other relevant cells in column C. By using this approach you can simply change the value in cell D1 to any number that you like and your change will automatically affect all of the calculations in column C. Note that by using the dollar sign ($) in the formula the row number of the cell in which the multiplier value is entered (in this case 1) is made absolute with the result that the copied formulae for the first three rows in column C will read “=B1*D$1”, “=B2*D$1” and “=B3*D$1”.
Reply With Quote
  #5  
Old 15-03-2015, 12:19 PM
pjphilli (Peter)
Registered User

pjphilli is offline
 
Join Date: Jan 2008
Location: Thornleigh Sydney
Posts: 638
Thanks all for your help.

A further question. I can work this by putting the formula into the lower rows of C by typing it in each time. Since I have a lot of rows involved is there some way I can copy the formula into all the rows of C
(whilst automatically changing the number indicated of row B) in one action?
(Tried various things which don't work).

Cheers Peter
Reply With Quote
  #6  
Old 15-03-2015, 12:29 PM
Merlin66's Avatar
Merlin66 (Ken)
Registered User

Merlin66 is offline
 
Join Date: Oct 2005
Location: Junortoun Vic
Posts: 8,928
Peter,
enter the formula into the top cell on column c.
Then right click on the cell, copy...
go to the next cell in the C column and press the left mouse button and while pressed, highlight the column to the bottom, then press the right mouse button and select paste.
This should copy the formula to each of the cells in the C column.
Reply With Quote
  #7  
Old 15-03-2015, 01:53 PM
redbeard's Avatar
redbeard (Damien)
Registered User

redbeard is offline
 
Join Date: Nov 2010
Location: Adelaide
Posts: 558
Quote:
Originally Posted by pjphilli View Post
Thanks all for your help.

A further question. I can work this by putting the formula into the lower rows of C by typing it in each time. Since I have a lot of rows involved is there some way I can copy the formula into all the rows of C
(whilst automatically changing the number indicated of row B) in one action?
(Tried various things which don't work).

Cheers Peter

An easy way for this is to select the first cell with the formula in it and you will notice when you move the mouse to the bottom right hand corner of that cell, there is a little black square and the mouse cursor will change to a plus symbol. Simply click and drag this down to all cells with the mouse. The formula will auto copy and reflect the correct cell calculations.

Cheers
Reply With Quote
  #8  
Old 15-03-2015, 01:54 PM
CJ's Avatar
CJ (Chris)
Registered User

CJ is offline
 
Join Date: Dec 2012
Location: Woombye, SE Qld, Australia
Posts: 589
I'm not sure if this will help but it's worth knowing anyway.
If you highlight a cell, then put you cursor near the bottom right corner of that cell, you should see a small cross appear. Dragging this cross down the column, or across the row, fills those cells with various values which reflect what the first cell contains. It works with formulas, ascending or descending values, days of the week etc. It might do what you require. Using crtl at the same time changes the behaviour of the resulting cell contents.
Have a fiddle and see if it does what you want.
Cheers

Edit, Damien posted his reply while I was typing!
Reply With Quote
  #9  
Old 15-03-2015, 02:19 PM
CJ's Avatar
CJ (Chris)
Registered User

CJ is offline
 
Join Date: Dec 2012
Location: Woombye, SE Qld, Australia
Posts: 589
You can also use that technique to create a sequence of incremental jumps.
Say A1 = 5 and B1 = 10, highlighting both cells and then dragging the cross will result in C1, D1 etc filling in with 15, 20 and so on.
Cheers

Last edited by CJ; 15-03-2015 at 02:38 PM.
Reply With Quote
  #10  
Old 17-03-2015, 11:25 AM
pjphilli (Peter)
Registered User

pjphilli is offline
 
Join Date: Jan 2008
Location: Thornleigh Sydney
Posts: 638
Thanks All again - Your suggestions worked perfectly and I have also saved them for further possible use. Easy when you know how!
Cheers Peter
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 11:39 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Astrophotography Prize
Advertisement
Bintel
Advertisement