+ Reply to Thread
Results 1 to 28 of 28

Help with IF-function

  1. #1
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Question Help with IF-function

    Hi!

    I'm trying to use my Excel-document for staffing at a Call center. I have all the data I need, but I want column F (Agents) to automatically find a number that will give corresponding row in coumn F (Service level), let's say 80%.

    How do I manage that? Quite new to Excel I'm afraid

    Attached a sample file as well. It's the leaf that's called "staffing" I'm referring to. Hope I was clear enough in my explanation
    Attached Files Attached Files
    Last edited by BirgerGov; 10-25-2016 at 07:52 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Help with IF-function

    To attach a sample file:


    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Did that already

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Help with IF-function

    Quote Originally Posted by BirgerGov View Post
    Did that already
    And you have amended your post, which originally said that you could not attach a file. I posted to help you with that.

  5. #5
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Hope all info, attachment and topic is correct now.

    Looking forward to what must be, to you guys, a simple formula

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Help with IF-function

    I have all the data I need, but I want column F (Agents) to automatically find a number that will give corresponding row in coumn F (Service level), let's say 80%.
    What exactly does this mean? What are you expecting to see in column F (which currently contains a simple formula)?

  7. #7
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Well I want a formula that gives me exactly 80% Service level (column N), that column is based on the number of agents in column F.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Help with IF-function

    OK - so where do you want this information to appear? How would you manually calculate your expected outcome? What is obvious to you is not, yet, obvious to me - sorry!

  9. #9
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Well I want Excel to test any number between let's say 5-35 (that's min-max staffing for any given interval) in Column F and find a number that will make the corresponding row in Column N (Service level) hit 80%.

    My guess is that I have to use IF-functions but I'm just not seasoned enough in Excel to manage it.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Help with IF-function

    I'm really sorry - I just don't get it.

  11. #11
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Well if you change F 9 to let's say 10 the corresponding row in Column F will change to 47,9. ok? that means with 10 agents in that interval I will have a service-level of 47,9%.

    I don't want to fill in the number of agents by hand, I want excel to find what number of agents will result in 80% service level.

  12. #12
    Forum Contributor
    Join Date
    08-23-2016
    Location
    India
    MS-Off Ver
    MS Office Professional Plus 2013
    Posts
    194

    Re: Help with IF-function

    What is in Column C ?
    Ash

  13. #13
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Column C is the amount of incoming calls per hour

  14. #14
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    427

    Re: Help with IF-function

    Quote Originally Posted by BirgerGov View Post
    Well if you change F 9 to let's say 10 the corresponding row in Column F will change to 47,9. ok? that means with 10 agents in that interval I will have a service-level of 47,9%.

    I don't want to fill in the number of agents by hand, I want excel to find what number of agents will result in 80% service level.
    Try Goal Seek

  15. #15
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: Help with IF-function

    You will probably need VBA to loop through all rows column F trying values of F to give a value of 80% (in F9 = 11.8)

    Is F to be integer numbers only?

  16. #16
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Im not good enough in Excel to do that I'm afraid, need something more if possible

  17. #17
    Forum Contributor
    Join Date
    08-23-2016
    Location
    India
    MS-Off Ver
    MS Office Professional Plus 2013
    Posts
    194

    Re: Help with IF-function

    Where is the Answered calls per interval ?

  18. #18
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    F don't have to be integer numbers, one decimal is fine, but I have to round up/down in the end anyways so integer numbers is preferred.

  19. #19
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Ash, I don't have answered calls per interval since this is a meant as a prognose, I have a different report for results and such. This is forecasting and staffing alone

  20. #20
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: Help with IF-function

    Try simple macro:

    Please Login or Register  to view this content.
    Manually change values in F and then Click RUN button.
    Attached Files Attached Files

  21. #21
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Help with IF-function

    Here's one possible method, using VBA to loop through each row, then trying to use Goal Seek to set the number of agents.

    Note that your data is not solvable to 80% in all cases (in these cases, the original formula will remain in Column F).

    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  22. #22
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Holy hell that actually worked

  23. #23
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: Help with IF-function

    Which one??!!!

  24. #24
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Thank you all for taking your time to help me. I created a button and recorded this macro so the correct cells were selected

  25. #25
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Help with IF-function

    Quote Originally Posted by BirgerGov View Post
    I created a button and recorded this macro so the correct cells were selected
    We're a bit confused as to which solution you ended up with. Want to share?!

  26. #26
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Yours John Havent tried the rest yet but I will

  27. #27
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Help with IF-function

    Please remember to add rep to those who helped you (Olly, John and Ash).

  28. #28
    Registered User
    Join Date
    10-25-2016
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    14

    Re: Help with IF-function

    Thanks again, reputation added to all who contributed

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  2. VBA code for custom function that returns detail results of array function
    By onechipshot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2015, 06:30 PM
  3. Replies: 1
    Last Post: 06-10-2015, 12:56 PM
  4. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  5. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  6. [SOLVED] Using Offset function as the array in the PercentRank function is giving wrong result
    By Bobneil in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2013, 09:29 PM
  7. Replies: 1
    Last Post: 03-21-2012, 11:22 AM

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