veronicaandtodd
New Member
- Joined
- Mar 10, 2024
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
I'm trying to create a formula that will look for a size in a specific cell and then return a cost in another cell. For example, sizes S-XL cost $0; sizes 1X-3X cost $2.14; and sizes 4X-5X cost $4.28. This is what I came up with but it only works for sizes 1X-5X. The formula returns an answer of 4.28 for sizes S-XL. Any help would be appreciated!
=+LOOKUP(B11,{"S","M","L","XL","1X","2X","3X","4X","5X"},{0,0,0,0,2.14,2.14,2.14,4.28,4.28})
=+LOOKUP(B11,{"S","M","L","XL","1X","2X","3X","4X","5X"},{0,0,0,0,2.14,2.14,2.14,4.28,4.28})