Excel Formula to select data over other columns

mrsushi

Board Regular
Joined
Nov 18, 2006
Messages
180
Office Version
  1. 2010
Trying to select the data in the order over other columns

Price quotes in columns
K+L
M+N
O+P
Q+R
S+T

My formula in cell U
IF(LEN(K3),K3,IF(LEN(M3),M3,IF(LEN(O3),O3,IF(LEN(Q3),Q3,IF(LEN(S3),S3,"")))))

My formula in cell V
IF(LEN(L3),L3,IF(LEN(N3),N3,IF(LEN(P3),P3,IF(LEN(R3),R3,IF(LEN(T3),T3,"")))))


For some reason the formula isn't picking up prices in the order ie if prices in k+l, select it
So for row 4, there are prices along the row, but I want to avoid the #N/A N/A and select the next available prices.

Is there something wrong with the formula?

 

Attachments

  • Capture.JPG
    Capture.JPG
    43.1 KB · Views: 4

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Your checking the cell with LEN(), anything other than a blank / empty cell will have a length greater than 0 and will return TRUE.
Try replacing LEN() with ISNUMBER()
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top