# How to Find the First or Last Positive or Negative Number in a Column/List in Excel

Suppose we have a list of data entry, we want to look up the first positive number among them, is there any way to find it out? And if we want to look up the first or last negative number, how can we do? Actually, to find out the first or last positive/negative number from a list of data, we can apply formula with some functions like INDEX, LOOKUP, MATCH to get them properly. This free tutorial will show you the formulas to help you find out positive or negative number per your request.

Precondition:

See screenshot below. There are some positive and negative numbers in a column. ## Method 1: Find the First Positive Number by Formula

Step 1: Select a blank cell, enter the formula =INDEX(A1:A10,MATCH(TRUE,A1:A10>0,0)). Step 2: As it is an array formula, so press Ctrl+Shift+Enter to get result. Verify that the first positive number 123 is displayed properly. ## Method 2: Find the First Negative Number by Formula

Step 1: Select a blank cell, enter the formula =INDEX(A1:A10,MATCH(TRUE,A1:A10<0,0)). Just change > in method1 formula to <. Step 2: As it is an array formula, so press Ctrl+Shift+Enter to get result. Verify that the first negative number -91 is displayed properly. ## Method 3: Find the Last Positive Number by Formula

Step 1: Select a blank cell, enter the formula =LOOKUP(2,1/(A1:A10>0),A1:A10). Step 2: As it is an array formula, so press Ctrl+Shift+Enter to get result. Verify that the last positive number 78 is displayed properly. ## Method 4: Find the Last Negative Number by Formula

Step 1: Select a blank cell, enter the formula =LOOKUP(2,1/(A1:A10<0),A1:A10). Compare to get the positive number by formula, just change > in the formula to <. Step 2: As it is an array formula, so press Ctrl+Shift+Enter to get result. Verify that the last negative number -101 is displayed properly. ### Related Functions

• Excel LOOKUP function
The Excel LOOKUP function will search a value in a vector or array.The syntax of the LOOKUP function is as below:= LOOKUP (lookup_value, lookup_vector, [result_vector])…
• Excel INDEX function
The Excel INDEX function returns a value from a table based on the index (row number and column number)The INDEX function is a build-in function in Microsoft Excel and it is categorized as a Lookup and Reference Function.The syntax of the INDEX function is as below:= INDEX (array, row_num,[column_num])…
• Excel MATCH  function
The Excel MATCH function search a value in an array and returns the position of that item.The MATCH function is a build-in function in Microsoft Excel and it is categorized as a Lookup and Reference Function.The syntax of the MATCH function is as below:= MATCH  (lookup_value, lookup_array, [match_type])….

Related Posts

VLOOKUP From Another Sheet Not Working

In the previous post, you should know that how to fix or remove the #N/A error when using VLOOKUP formula to lookup value from another sheet. And this post will show you reasons why your VLOOKUP formula is not working ...

Case Sensitive Lookup with SUMPRODUCT and EXACT

Today, we will show you how to use SUMPRODUCT and EXACT to perform a case sensitive exact match. In this article, we provide a simple example to calculate bonus for employees whose names are case-sensitive. If you meet similar scenarios ...

Basic Usage of INDEX & MATCH – Case Sensitive Lookup

In Excel, INDEX function and MATCH function are often used together for retrieving data from a particular position. MATCH function is one of Excel lookup & reference functions that can perform approximate match or exact match by setting different match ...

Basic Rates Calculation by VLOOKUP Based on Weight Band

Microsoft Excel provides many functions that can execute logical test, search data, return current date and something else. They are very useful in daily work. And Excel VLOOKUP function is one of Excel most frequently used functions. It belongs to ...

Basic Grade Calculation by VLOOKUP Function – Approximate Match

In Excel, except combination INDEX+MATCH, we can also apply other functions to search data, for example VLOOKUP function. Like MATCH function, VLOOKUP function is one of Excel lookup & reference functions that can perform approximate match or exact match by ...

Basic Discount Calculation with VLOOKUP Function

In Excel, except combination INDEX+MATCH, we can also apply other functions to search data, for example VLOOKUP function. Like MATCH function, VLOOKUP function is one of Excel lookup & reference functions that can perform approximate match or exact match by ...

Basic Usage of INDEX & MATCH – Exact Match

In Excel, INDEX function and MATCH function are often used together for returning value or cell reference or range reference from specified position. And MATCH function is one of Excel lookup & reference functions that can perform approximate match or ...

Basic Usage of INDEX & MATCH – Approximate Match

In Excel, INDEX function and MATCH function are often used together for returning value or cell reference or range reference from specified position. And MATCH function is one of Excel lookup & reference functions that can perform approximate match by ...

Approximate Match with Multiple Criteria by INDEX & MATCH

In Excel, INDEX function and MATCH function are often used together for returning data from specific position. And MATCH function is one of Excel lookup & reference functions that can return approximate value by setting match type. Above all, through ...

How to Count Cells Not Equal to One of Many Things in Excel

This post will guide you how to count the number of cells that are not equal to many things in a given range cells using a formula in Excel 2013/2016. You can easily to count cells not equal to a ...

Sidebar