Excel formula

Jamey Luv 60 Reputation points
2025-02-27T13:10:01.6933333+00:00

Put different numbers from two rows on the third row.

Any suggestion is appreciated, thanks.

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,777 questions
{count} votes

Accepted answer
  1. Emi Zhang-MSFT 28,056 Reputation points Microsoft Vendor
    2025-02-28T02:15:10.43+00:00

    Hi,

    Try this formula and drag to the right:

    =IFERROR(SMALL(IF(COUNTIF(1:2,$A1:$I2)=1,$A1:$I2),COLUMN()),"")

    User's image

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Viorel 120.1K Reputation points
    2025-02-27T13:34:33.12+00:00

    Maybe you mean something like this: =IF(AND(ISBLANK(A1),ISBLANK(A2)),"",MAX(A1,A2)+1). Put it to A3.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.