Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2018, 01:19 PM
drjogora drjogora is offline Assistance with the ROWS function Windows 10 Assistance with the ROWS function Office 2013
Novice
Assistance with the ROWS function
 
Join Date: Oct 2018
Posts: 2
drjogora is on a distinguished road
Default Assistance with the ROWS function

New to Excel formulas. I have a row that contains four values in different columns. I perform a SUM within this row. I want to use the same formula in the next row but with the row number bumped up one. Example: =SUM(E3+F3-C3-G3) for row 3. How would I use the ROWS function for the next and succeeding rows? Example?

Thanks, Dave
Reply With Quote
  #2  
Old 10-26-2018, 03:19 PM
p45cal's Avatar
p45cal p45cal is offline Assistance with the ROWS function Windows 10 Assistance with the ROWS function Office 2016
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Just copy the formula down with the little black square at the bottom right of the cell containing the formula.
BTW, just =E3+F3-C3-G3 will do; you dont need the SUM.
Reply With Quote
  #3  
Old 10-26-2018, 04:34 PM
drjogora drjogora is offline Assistance with the ROWS function Windows 10 Assistance with the ROWS function Office 2013
Novice
Assistance with the ROWS function
 
Join Date: Oct 2018
Posts: 2
drjogora is on a distinguished road
Default

Thanks for the reply. I tried that but didn't get the results I was looking for. In the next row I need row numbers to increase by one in order to evaluate the info in that row.
Reply With Quote
  #4  
Old 10-26-2018, 10:40 PM
Marcia's Avatar
Marcia Marcia is offline Assistance with the ROWS function Windows 7 32bit Assistance with the ROWS function Office 2007
Expert
 
Join Date: May 2018
Location: Philippines
Posts: 527
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

Quote:
Originally Posted by drjogora View Post
New to Excel formulas. I have a row that contains four values in different columns. I perform a SUM within this row. I want to use the same formula in the next row but with the row number bumped up one. Example: =SUM(E3+F3-C3-G3) for row 3. How would I use the ROWS function for the next and succeeding rows? Example?

Thanks, Dave
Example
A B C D E F G K
1
2

3 1 1 1 1 0 =E3+F3-C3-G3
4 3 2 3 1 1 you get this result when you copy the formula from k3 down


What do you mean by increasing the rows by 1? What info do you expect the formula in K4 to return?
Reply With Quote
  #5  
Old 10-26-2018, 10:44 PM
ArviLaanemets ArviLaanemets is offline Assistance with the ROWS function Windows 8 Assistance with the ROWS function Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

In Excel, you can use relative or absolute references for both columns and rows. $A1 refers absolutely to column A, A$1 refers absolutely to row 1, $A$1 refers absolutely to cell A1, etc.

When you copy the cell/range, using copy-paste, copy-paste special>formulas, or dragging e.g. down or to right from lower rihgt edge of cell/range, absolute references don't change, but relative references do change.
P.e. when in cell X3 you have a formula =SUM($E3:$F3)-SUM($C3,$G3), and you copy the this to cell X4, the formula in X4 will be =SUM($E4:$F4)-SUM($C4,$G4). When you copy X3 to Z3, the formula in C3 will be =SUM($E3:$F3)-SUM($C3,$G3) - the formula doesn't change, as the row is same, and column references are absolute.
Reply With Quote
  #6  
Old 10-26-2018, 10:48 PM
Marcia's Avatar
Marcia Marcia is offline Assistance with the ROWS function Windows 7 32bit Assistance with the ROWS function Office 2007
Expert
 
Join Date: May 2018
Location: Philippines
Posts: 527
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

Quote:
Originally Posted by drjogora View Post
New to Excel formulas. I have a row that contains four values in different columns. I perform a SUM within this row. I want to use the same formula in the next row but with the row number bumped up one. Example: =SUM(E3+F3-C3-G3) for row 3. How would I use the ROWS function for the next and succeeding rows? Example?

Thanks, Dave
I have attached a sample for clarity. In cell H4, what is the value that you want the formula to return?
Attached Files
File Type: xlsx Sample.xlsx (8.5 KB, 7 views)
Reply With Quote
  #7  
Old 10-27-2018, 02:53 AM
p45cal's Avatar
p45cal p45cal is offline Assistance with the ROWS function Windows 10 Assistance with the ROWS function Office 2016
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

See video. The mouse hasn't recorded in exactly the right position, the little green square was dragged down.

Can't upload this file so here's a link to it:
https://www.dropbox.com/s/tsarm6givo...35_41.mp4?dl=0
Reply With Quote
Reply

Tags
rows



Similar Threads
Thread Thread Starter Forum Replies Last Post
Assistance with Today() function returning correct value DaveWSinger Excel 4 03-08-2018 05:34 AM
Assistance with Word VBA nanders8 Word VBA 3 05-04-2017 10:39 PM
MODE function excluding hidden rows michael_1962 Excel 1 05-21-2015 10:09 PM
Assistance with the ROWS function AVERAGEIF function excluding hidden rows michael_1962 Excel 1 05-17-2015 11:31 PM
a function that deletes all rows with no value in a certain column? dunndealpr Excel 2 06-08-2013 06:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft