Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am trying to get the =IF function to test only part of a cell as the
logical test. I am trying to create an Invoice template for online sales. I will only be charging sales tax for Texas residents. I need the tax formula to only calculate tax if the state is Texas. I do not want to separate the City, State and Zip as they are currently a single cell. For instance, F4 Houston, Texas 77003 F27 =SUM(F18:F26) F28 8.25 [Format-Percentage] F29 =F27*F28 For F29, I have tried =IF(F4="*Texas*", F27*F28, 0) but got no results. Can I make the formula work to look for Texas only? Or is there a better way to go about this? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can you make a cell with a diagonal, so that you can edit the upper and lower part of the cell? | New Users to Excel | |||
How do I test a cell for part of text | Excel Worksheet Functions | |||
vlookup to extract part cell content | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions | |||
logical test - within a range | Excel Worksheet Functions |