Working with ranged values Zoho Deluge

Working with ranged values Zoho Deluge

Dear community,

I'm creating this thread because I need help to archive the following:

I have a system that must receive the numeric value "requests" and based on this value, it must give me the output telling me on which plan this number of requests will be inserted.

  1. requests = x (numeric value);
  2. tabela_precing = {"Plan A": 2500, "Plan B": 5000, "Plan C": 10000, "Plan D": 50000};

  3. Desired outputs:

  4. if requests = 500 the output should be "Plan A";
  5. if requests = 2500 the output should be "Plan A";
  6. if requests = 2501 the output should be "Plan B";
  7. if requests = 3340 the output should be "Plan B";
  8. if requests = 5000 the output should be "Plan B";
  9. if requests = 5001 the output should be "Plan C";
  10. if requests = 8451 the output should be "Plan C";
I know the syntax isn't correct, I just need to know how can I get this done.

I've tried using map estructures + "for each" and yet I didn't succeed.

Could someone help me, please?

Kind regards,
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方