Difference between revisions of "Excel"

From rbachwiki
Jump to navigation Jump to search
Line 1: Line 1:
= Excel =
= Excel =


== Removing the .jpg 3 cells then concat them==
== Removing the .jpg in 3 cells then concat them==


  =LEFT(A1,LEN(A1)-4)&","& LEFT(B1,LEN(B1)-4)& ","&LEFT(C1,LEN(C1)-4)
  =LEFT(A1,LEN(A1)-4)&","& LEFT(B1,LEN(B1)-4)& ","&LEFT(C1,LEN(C1)-4)
Line 10: Line 10:
|one.jpg || two.jpg || three.jpg || one, two, three
|one.jpg || two.jpg || three.jpg || one, two, three
|}
|}
== Suppressing errors if you have a blank line ==
=IFERROR(LEFT(A1,LEN(A1)-4),"")&","&IFERROR(LEFT(B1,LEN(B1)-4),"")& ","&IFERROR(LEFT(C1,LEN(C1)-4),"")

Revision as of 15:59, 9 August 2022

Excel

Removing the .jpg in 3 cells then concat them

=LEFT(A1,LEN(A1)-4)&","& LEFT(B1,LEN(B1)-4)& ","&LEFT(C1,LEN(C1)-4)
  • Results
one.jpg two.jpg three.jpg one, two, three

Suppressing errors if you have a blank line

=IFERROR(LEFT(A1,LEN(A1)-4),"")&","&IFERROR(LEFT(B1,LEN(B1)-4),"")& ","&IFERROR(LEFT(C1,LEN(C1)-4),"")