+ Reply to Thread
Results 1 to 2 of 2

Deduct different values depends in other values

Hybrid View

  1. #1
    Registered User
    Join Date
    01-15-2021
    Location
    Berlin
    MS-Off Ver
    2013
    Posts
    1

    Deduct different values depends in other values

    Good evening,
    sorry for my bad english but I hope you can get it

    We are a small group of pen and paper player and since corona we moved to a remote version for our character sheets. Basically we would like to automate some calculations for those sheets.
    The basics we managed easily but now we stucked for following part.

    After each big quest we get points to level our skills and depends on skill-level the next level-costs raises.

    For example:
    point-pool is 20
    to raise skill-level from 3 to 4 we need to spend 1 point, but after 4, from 4 to 5, we need to spend 2 points. With level 8 we have new raise of costs to 4 points and so on.
    I found already IFS function but I stuck to finish the formula.

    Small overview what we would like to reach

    Field XY = 20
    Field CB = 3
    User changes CB to 4
    Field XY = 19 (1to4 costs 1point)
    User changes CB to 5 (5to 8 costs 2 points)
    Field XY = 17

    or

    Field XY = 20
    Field CB = 0
    User changes CB to 8
    Field XY = 8 (1-4 = 4 points + 5 to 8 = 8 points)

    We dont need to block the possible to go into minus, that just would be the cherry on the cake

    Have a nice evening, keep well and thanks for your help.
    Attached Files Attached Files
    Last edited by PeterHacke; 01-15-2021 at 06:49 PM. Reason: attached file

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Deduct different values depends in other values

    Please read the yellow banner at the top of this page
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] Values come depends on another cell
    By rajeshn_in in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 04-03-2017, 01:14 AM
  2. Using SUMIF to deduct last available values from closures
    By ExcelSponge in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-05-2016, 07:47 PM
  3. [SOLVED] VBA Code replace old values to new values depends upon column values
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2015, 08:19 AM
  4. vba code to replace old values by new value depends upon 2 col values
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-27-2014, 03:22 AM
  5. [SOLVED] Fill the values & replace the old values by vba code depends upon 2 col
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-27-2014, 03:11 AM
  6. [SOLVED] vba to Replace Old values by new values depends upon cell values in AC:AC col
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-25-2014, 08:15 AM
  7. [SOLVED] Need vba or formula help to set values depends upon 3 conditions values in 3 col
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2014, 12:34 PM

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