Call us at:   1.805.498.7162     1.805.558.9277

Microsoft Excel workshops for business, engineering and science Innovative Microsoft Excel software design View our customer list from our over 14 years in business Phone numbers, email address and contact form Learn about EMAGENIT Home page containing upcoming Microsoft Excel classes and other EMAGENIT services Self-study Microsoft Excel manuals for business, engineering and science Microsoft Excel consulting services Microsoft Excel training schedule and prices

Home > Excel Resources > Excel ROW Function

Microsoft Excel ROW Function Help

Microsoft Excel ROW Function Help

ROW Function Tutorial

The ROW Function determines the row number of a single cell or the row numbers of the range you specify.

 
 
Function Specifics

 

What is the Microsoft Excel ROW Function?

The ROW function is a computer program that you run from a worksheet cell formula. It determines the row number of a single cell or the row numbers of the range you specify. You run the ROW worksheet function by typing its name in a formula then followed by the information it is suppose to analyze. The sole use of this function is to return the row numbers of a specified range or cell. It is commonly used as a nested function in other functions that require the row and column coordinates of a cell like the ADDRESS function. It is also quite heavily used as a nested function in the IF function where logic is used to determine what row numbers to return from its answer if a range was used as its argument.

 

How Do You Type the ROW Worksheet Function in a Formula?

Whenever you type a formula in a worksheet cell, this is called syntax or grammar. The general ROW function syntax has a format like this when you type it in a worksheet cell:

=ROW([reference])

Where [reference] is called the function argument list. Remember, you are running a computer program at this point so the program needs information to operate and that is why there is an argument list. When you see an argument list and you see square brackets [ ] around the argument name, this means the argument is optional and you do not have to include it when typing unless you need it. So for the syntax above, you do not need to include any arguments for the ROW function when typing it in a worksheet cell formula in order for it to calculate correctly. What argument value can be used is discussed below. Remember functions expect certain things in their argument lists, if you do not put the correct information in the list they will generate an error when run.

 

How Do You Run the ROW Function?

Since the ROW function is a computer program, it runs when you press Enter to enter the formula that contains it. If any of the arguments are wrong, the function will return an error.

 

What Do I Type for a ROW Function Argument?

When typing the ROW function in a worksheet cell formula, you can include an argument if you want. Some typical arguments you can use are:

Argument Type Cell Formula Example Explanation
Nothing =ROW() Returns the ROW number of the cell it is typed in
Cell References =ROW(A1) Returns the ROW number of 1
Range Reference =ROW(A1:A10) Returns the ROW numbers 1,2,3,4,5,6,7,8,9,10. Not of any use unless interpreted in some other function by nesting. See last example.
Nested Function  =ROW( INDIRECT( "A1:" & ADDRESS(1,COUNTA(A1:A10)) ) ) Returns the ROW numbers between cell A1 and the ending ROW in column A calculated by the ADDRESS and COUNTA functions. Not of any use unless interpreted in some other function by nesting. See last example.
Nested Function =ADDRESS( MAX( IF(B1:B10>0,ROW(A1:A10),FALSE) ) ,1) Returns the address of the cell in column A that is greater than 0 in column B. MAX is used to calculate the largest ROW number generated by the IF function in column A. ADDRESS takes that number and uses it to figure out the cell reference of that cell. This type of formula is called an array formula and is entered by pressing Ctrl+Shift+Enter. It is actually used as a nested part of a larger formula.

 

Back to Help Topics

Need Help?

Let our Microsoft Excel workshops below show you how to use the worksheet function that you see on this page and more. They are unlike anything taught on the training market today.

Microsoft Excel Workshops -  Free RepeatsFree Workshop Repeats

All of our workshops come with free repeats. We understand learning takes time. Details

Intermediate Microsoft Excel Workshop

Intermediate Microsoft Excel WorkshopLearn productive Microsoft Excel solution skills that will save you time and effort in your daily Excel tasks. Drawing from our 15 years' of experience, our 1-day "hands-on" Microsoft Excel workshop shows you how to use Excel's formulas, cell naming features, worksheet functions like VLOOKUP, built-in data tools, charts and pivot tables to solve your daily business problems. Complete Outline and Signup

Advanced Microsoft Excel Workshop

Advanced Microsoft Excel WorkshopLearn how to use the advanced Microsoft Excel features that you need to succeed in your business. Drawing from our 15 years' of experience, our 1-day "hands-on" Excel workshop shows you how to create advanced formulas that think and scan, use Excel's advanced data tools to extract external data, construct advanced pivot tables and pivot charts, and use ActiveX controls to build dashboards. It also provides an introduction to VBA macros. Complete Outline and Signup

Advanced Microsoft Excel for Engineers and Scientists

Microsoft Excel Workshop for Engineers and ScientistsLearn how to use Microsoft Excel to create advanced engineering and science tools. Drawing from our 15 years' of experience, our 1-day "hands-on" workshop shows how to create advanced formulas that think and scan, perform numerical analysis tasks on the worksheet, use Excel's advanced data and statistical tools, construct advanced pivot tables, build and optimize system models, and use ActiveX controls to build technical dashboards. It also provides an introduction to VBA macros. Taught by an engineer. Complete Outline and Signup

 

 

 

 

Site Map

Copyright 2002-2014 EMAGENIT All Rights Reserved