Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Assigning a number with a formula

I am creating a PO System. When I enter the name of who is making the request I want to assign a number to this person.
This is what I have so far.
=IF(Request1 = "Greg", 1)
When i try to add to that I get #UNPARSEABLE
=IF(Request1 = "Greg", 1), IF(Request1 = "Bill", 2)
what am i doing wrong?
Comments
-
You have to include the second conditional insed the first set of paretheses.
=IF(Request1 = "Greg", 1, IF(Request1 = "Bill", 2))
-
Tiare,
You could also create a List of people in ta Dashboar area at the top of the sheet with a number in the ajacent cell and then use a Lookup function rather than nesting a load of ifs. You will find that that would probably be quicker and have less overhead on the sheet performance.
-
Hi, I tried to use this formula and it works for my purpose. However, in certain cases the number assigned should start with a zero and SS ignores it. Is there a way to solve this issue? Thanks.
-
Francesca
If you used the Formula method then in the the formula enter "02" or if that does not work tru "'02".
The apostraphy should force it to treat it as Text.
Note if you sort data in this column and some entries are Text and some are Numbers you may get what appears to incorrect sorts.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives