+ Reply to Thread
Results 1 to 4 of 4

IF clause causing problem while copying the formula

  1. #1
    Registered User
    Join Date
    03-17-2020
    Location
    New Delhi, India
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Exclamation IF clause causing problem while copying the formula

    Hi all, I have a problem. I need a fix of it ASAP. I have created a result sheet of students and it consists grading system also. so for example, I have this data:

    excel doubt.png

    now BT10 should give C2 grade as you can see, but it is not. the formula is misbehaving in multiple cells (in 2-3 cells) but is giving correct answers in the rest of the columns. What to do? Please help. It has been driving me crazy. I have used relative referencing. Even the cell is picking up the right cell reference in the copied formula but it is not evaluating correct result.

    BQ is having normal SUM formula.
    Formula in BR4=ROUND(BQ4/6,2), copied all the way down.

    Please HELP! Thank you in advance.
    Last edited by Priyanshi; 03-17-2020 at 02:41 AM. Reason: Issue resolved

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: IF clause causing problem while copying the formula

    Read carefully yellow banner on top of page "HOW TO ATTACH YOUR SAMPLE WORKBOOK:"
    Not only screen shot.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: IF clause causing problem while copying the formula

    it is because ROUND(BQ4/6,2) gives 40.50, this is between categories, and you want 41
    so you should use:
    Please Login or Register  to view this content.
    cheers
    Erwin
    Last edited by Eastw00d; 03-17-2020 at 02:07 AM.
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  4. #4
    Registered User
    Join Date
    03-17-2020
    Location
    New Delhi, India
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Re: IF clause causing problem while copying the formula

    Oh God, I tried so many things, but couldn't solve it. this solved my problem. thanks a ton!

+ 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] Formula for Clause Point System - E.g. Clause 1 = 10 points, Clause 2 = 5 Points
    By petsean007 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2019, 11:05 PM
  2. Add integers causing problem
    By malathi1972 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2018, 09:38 PM
  3. combined vlookup/if clause formula?
    By Esther19 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-28-2016, 01:05 PM
  4. #NUM causing problem with INDEX formula results
    By judecrew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2015, 06:16 PM
  5. Array Formula Help -IF / Else clause?
    By Jay in forum Excel General
    Replies: 4
    Last Post: 08-15-2006, 02:30 AM
  6. conversion to formula of string contaning IF clause
    By JeanBQ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2006, 12:55 PM
  7. VBA excel - problem with having clause in sql with adodb.connection/recordset
    By ukp9999 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2005, 03:50 AM

Tags for this Thread

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