How to add a text automatically to an excel cell when a cell or cells are filled?

Kobra

I know this is a long tittle but I really don't know how to put the title to what I am looking for so sorry for that.

Right, basically my question is for the excel spreadsheet. And I will use an example on the cells names such as A1, B2, C3 and so on.

I am trying to make the the cell G2 to automatically be filled with a text such as example "Hello World", only when the cells A2, B2, F2 are typed in (with any text).

I'm hoping someone will be able to help me solving this.

Thank you in advance.

D_Bester

Try an if statement:

=IF(AND(NOT(ISBLANK(A2)),NOT(ISBLANK(B2)),NOT(ISBLANK(F2))),"Hello World","")

Test all cells for blank and if all are filled in then give "Hello World".

For your second question (you should start another question): Put this code in the Sheet code; not in a module and not in the Workbook.

Private Sub Worksheet_Change(ByVal Target As Range)
    If Not VBA.IsNumeric(Target.Value) Then
        If target.address = "$E$1" Then
            Target.Value = UCase(Target.Value)
        End If
    End If
End Sub

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Excel 2007 how to put a text message in a cell if multiple cells are filled with data

From Dev

How to make excel automatically fill a value in a cell of a sheet when another corresponding cell of another sheet is filled the same value?

From Dev

Copy cells to another cell when filled with color

From Dev

Automatically set value to empty cells in Excel when another cell is populated

From Dev

I need a cell to be filled with a certain text when two other cells contain a certain value

From Dev

Excel: Conditional formatting not filling in cells if adjacent cell is filled

From Dev

autofill cells with star when first cell filled by content

From Dev

How do you add text wrapping to a cell using OpenXml when creating excel files?

From Dev

Add cell to UITableView if textfield of previous cell is filled in

From Dev

How do you add text to the end of a cell in Excel

From Dev

Excel VBA code how to add text to specific cell

From Dev

How to add colspan and text in cell?

From Dev

How to format excel cell 'text' when opening an HTML content

From Dev

How to automatically insert text of each cell in column as a comment to another cell

From Dev

Add a text comment in a numeric cell with Excel

From Dev

How to create text content for one cell based on other cells's content in Excel?

From Dev

How can I add all previous cells to a cell using a function in Microsoft Excel?

From Dev

Highlighting cells in excel based on another cell text that is derived from a formula

From Dev

Parsing multicolored text in Excel spreadsheet cell into multiple cells?

From Dev

Excel VBA - clear cells above and below cell with text

From Dev

Excel SUMIF when another cell contains text

From Dev

Excel- how to piece out parts of the text in a cell into a different cell

From Dev

How to add custom text to a cell based on a specific entry in a different cell?

From Dev

Cell Label text overlapping in cells

From Dev

Cell Label text overlapping in cells

From Dev

Insert text in cells when above cell meets condition

From Dev

why do the cells in the table view resize when I add a cell?

From Dev

Excel underline only to cell width (cell's text goes in to other cells)

From Dev

How to remove text/characters from an Excel cell

Related Related

  1. 1

    Excel 2007 how to put a text message in a cell if multiple cells are filled with data

  2. 2

    How to make excel automatically fill a value in a cell of a sheet when another corresponding cell of another sheet is filled the same value?

  3. 3

    Copy cells to another cell when filled with color

  4. 4

    Automatically set value to empty cells in Excel when another cell is populated

  5. 5

    I need a cell to be filled with a certain text when two other cells contain a certain value

  6. 6

    Excel: Conditional formatting not filling in cells if adjacent cell is filled

  7. 7

    autofill cells with star when first cell filled by content

  8. 8

    How do you add text wrapping to a cell using OpenXml when creating excel files?

  9. 9

    Add cell to UITableView if textfield of previous cell is filled in

  10. 10

    How do you add text to the end of a cell in Excel

  11. 11

    Excel VBA code how to add text to specific cell

  12. 12

    How to add colspan and text in cell?

  13. 13

    How to format excel cell 'text' when opening an HTML content

  14. 14

    How to automatically insert text of each cell in column as a comment to another cell

  15. 15

    Add a text comment in a numeric cell with Excel

  16. 16

    How to create text content for one cell based on other cells's content in Excel?

  17. 17

    How can I add all previous cells to a cell using a function in Microsoft Excel?

  18. 18

    Highlighting cells in excel based on another cell text that is derived from a formula

  19. 19

    Parsing multicolored text in Excel spreadsheet cell into multiple cells?

  20. 20

    Excel VBA - clear cells above and below cell with text

  21. 21

    Excel SUMIF when another cell contains text

  22. 22

    Excel- how to piece out parts of the text in a cell into a different cell

  23. 23

    How to add custom text to a cell based on a specific entry in a different cell?

  24. 24

    Cell Label text overlapping in cells

  25. 25

    Cell Label text overlapping in cells

  26. 26

    Insert text in cells when above cell meets condition

  27. 27

    why do the cells in the table view resize when I add a cell?

  28. 28

    Excel underline only to cell width (cell's text goes in to other cells)

  29. 29

    How to remove text/characters from an Excel cell

HotTag

Archive