1

Need your support in finding a solution for an issue which I am facing now.

enter image description here

Formula for Column A... Data Range from B to D

  • Have values in a range of spreadsheet cells (From column B to D)
  • Value may or may not be present within the range

  • I need the formula to update the leftmost value from the same row to the Column A.. E.g In Row 2, "Abil" is the leftmost cell from the range B2 to D2.

Something like =Left(B2:D2) which will select the leftmost cell value to the A2 cell

0

=ARRAYFORMULA(IF(IF(B2:B<>"", B2:B, C2:C)<>"", 
                 IF(B2:B<>"", B2:B, C2:C), D2:D))

0

  • 1
    Thanks @user0.. It worked perfectly resolving all my issues! – Jackson Gilbert Jul 27 at 12:31
0

=ARRAYFORMULA(IFERROR(REGEXEXTRACT(TRIM(TRANSPOSE(QUERY(
 TRANSPOSE(B2:D), , 999^99))), "\w+")))

0


=ARRAYFORMULA(INDEX(IFERROR(SPLIT(TRIM(TRANSPOSE(QUERY(
 TRANSPOSE(B2:D), , 999^99))), " ")), , 1))

0

  • Thank you "User0" ... It worked... – Jackson Gilbert Jul 27 at 11:57
  • Only issue which I faced is, in few cells now I am having URLs as the cell value... E.g hxxps://webapps.stackexchange.com @user0 The formula you provided only shows "hxxts" with in the cell triming off the remaining section.. SO how can we get the full value within the cell without checking the value within the cell & trimming text within ? – Jackson Gilbert Jul 27 at 12:07
  • @JacksonGilbert answer updated – user0 Jul 27 at 12:37
  • The last updated array formula is very much easy and perfect... Appreciate your support... – Jackson Gilbert Jul 27 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.