ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   copy text out of a range of cells (https://www.excelbanter.com/excel-worksheet-functions/186413-copy-text-out-range-cells.html)

Mark B

copy text out of a range of cells
 
Is there a formula that will pull specific text from a range of columns in a
single row?

FOr example, I want to copy the words "Transportaion Form" into specific
cell assuming those words are located in Columns C:G of Row 3 .

If "Transportation Form" is not in any of those cells, then I don't want it
to pull anything.

Is this possible?

Pete_UK

copy text out of a range of cells
 
Try this:

=IF(COUNTIF(C3:G3,"*Transportation Form*")0,"Transportation Form","")

Hope this helps.

Pete

On May 6, 8:02*pm, Mark B wrote:
Is there a formula that will pull specific text from a range of columns in a
single row?

FOr example, I want to copy the words "Transportaion Form" into specific
cell assuming those words are located in Columns C:G of Row 3 .

If "Transportation Form" is not in any of those cells, then I don't want it
to pull anything.

Is this possible?



Mark B

copy text out of a range of cells
 

ABSOLUTELY PERFECT! Thanks SO much!!!!!


"Pete_UK" wrote:

Try this:

=IF(COUNTIF(C3:G3,"*Transportation Form*")0,"Transportation Form","")

Hope this helps.

Pete

On May 6, 8:02 pm, Mark B wrote:
Is there a formula that will pull specific text from a range of columns in a
single row?

FOr example, I want to copy the words "Transportaion Form" into specific
cell assuming those words are located in Columns C:G of Row 3 .

If "Transportation Form" is not in any of those cells, then I don't want it
to pull anything.

Is this possible?




Pete_UK

copy text out of a range of cells
 
You're welcome, Mark - thanks for feeding back.

Pete

On May 7, 2:49*am, Mark B wrote:
ABSOLUTELY PERFECT! Thanks SO much!!!!!



All times are GMT +1. The time now is 11:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com