+ Reply to Thread
Results 1 to 4 of 4

Tariff Calulation

Hybrid View

  1. #1
    Registered User
    Join Date
    09-08-2008
    Location
    Sharjah
    Posts
    24

    Tariff Calulation

    I want to make use of a if statement to incorporate the following rate...

    if Consumption > 6001 then Tariff = kwh *.33
    if Consumption > 4001 and < 6000 the Tariff = kwh*.28
    if Consumption > 2001 and < 4000 the Tariff = kwh*.24
    if Consumption > 2000 the Tariff = kwh*.28

    Could you please help me write the statement.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Tariff Calulation

    =index({0.28,0.24,0.28,0.33}, match(a1, {0,2000,4000,6000}) ) * a1
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-08-2008
    Location
    Sharjah
    Posts
    24

    Re: Tariff Calulation

    Thankyou very much

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Tariff Calulation

    You’re welcome. Would you please mark the thread as Solved?

    Click the Edit button on your first post in the thread

    Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1