gpt-3.5-turbo-0613· OpenAI
WildChat-4.8M (AI2)
can u create a formual that makes a smiley face in a table
- User
can u create a formual that makes a smiley face in a table
- Assistant
Sure! Here's a formula that you can use to create a smiley face in a table:
Assuming you have a 5x5 table, you can use the following formula for each cell:
=IF(AND(ROW()=3, COLUMN()<>1, COLUMN()<>5), ":)", IF(AND(ROW()=4, COLUMN()=2), ":", IF(AND(ROW()=4, COLUMN()=4), ":", IF(OR(AND(ROW()=2, COLUMN()=2), AND(ROW()=2, COLUMN()=4)), ")", " "))))
This formula places a smiley face ":" in the appropriate cells to create a smiley face in the table. Rows 2 and 4 contain the eyes, row 3 contains the mouth, and rows 1 and 5 are empty.
Here's how it looks visually:
:) :) ------- --- ------- --- ------- :) ------- --- ------- --- ------- Feel free to modify the formula or table size as needed.