Hi,
I just cannot figure this one out. I know it's simple. Multiple if statements ??
See attached.
The numbers highlighted in yellow have been manually entered. This is the output I am looking for. Looking for a formula that will return "1" when the cell in column "A" = 1, otherwise if the cell in column "A" is greater than 1 that number is to be returned, and if the cell = 0, then it is to return the cell prior that is greater than 1.
So.... B3 would return 2 and cells b1 & b22 would return 3.
This is only a snippet. The numbers in column A can go up to 20 in some cases.
Thanks.
I just cannot figure this one out. I know it's simple. Multiple if statements ??
See attached.
The numbers highlighted in yellow have been manually entered. This is the output I am looking for. Looking for a formula that will return "1" when the cell in column "A" = 1, otherwise if the cell in column "A" is greater than 1 that number is to be returned, and if the cell = 0, then it is to return the cell prior that is greater than 1.
So.... B3 would return 2 and cells b1 & b22 would return 3.
This is only a snippet. The numbers in column A can go up to 20 in some cases.
Thanks.