+ Reply to Thread
Results 1 to 17 of 17

Formula showing wrong result formula not working perfectly

Hybrid View

  1. #1
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Formula showing wrong result formula not working perfectly

    In the attached file please see cell Z17 where formula showing wrong result and not working perfectly it is showing value 1133974 but it should be 1142244
    in that Z column elsewhere formula work perfectly but only in this cell Z17 it is not working perfectly
    how this happen please tell me the solution
    Attached Files Attached Files

  2. #2
    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
    30,887

    Re: Formula showing wrong result formula not working perfectly

    You need to show why the value is wrong i.e. how do you arrive at 1142244
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Re: Formula showing wrong result formula not working perfectly

    i want multiplication of cell E15*W17=1142244 it means cell E15 value 45709.90 * W17 value 24.989 = 1142244 in that Z column you can see in cell Z16 there is perfect result but in Z17 formula not working Z16 is previous cell of Z17 where is formula working in cell Z16 but not work in cell Z17

  4. #4
    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
    30,887

    Re: Formula showing wrong result formula not working perfectly

    With this ....

    INDEX($E17:$E$297995,MATCH("QTY",$D17:$D$297995,0)-1)
    It will not find any cell value PREVIOUS [ i.e. E15 ] to row 17: you need to review your "logic" for this MATCH. The other results are correct (almost)! by chance as there is no correlation between the data in N:W and the QTY field required.

    I suspect other results are also wrong because the formulae are using the wrong "QTY".
    Last edited by JohnTopley; 11-17-2023 at 07:13 AM.

  5. #5
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Re: Formula showing wrong result formula not working perfectly

    Do you suggest me any solution for my problem if you do not understant my problem i once again do clear for you see formula is working fine in this cells Z8, Z9, Z10, Z11, Z12, Z12, Z13, Z14, Z15 cell value of W8 multiplied by cell value of E15, cell value of w9 multiplied by E15 , cell value of W10 multiplied by cell E15 and so on in Cell Z16 and Z17 formula not working

  6. #6
    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
    30,887

    Re: Formula showing wrong result formula not working perfectly

    I understand the problem and I explained in post #5 why your formula does not work.

    Select Z17 then "Formulas" on ribbon then "Evaluate formula" and you will (hopefully) see the problem i.e. the wrong QTY is selected because of the MATCH "error"

    **** You need to learn how to "Evaluate Formulas" ****

    See attached column AA from Row 8 and from row 68
    Attached Files Attached Files
    Last edited by JohnTopley; 11-17-2023 at 07:49 AM.

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Formula showing wrong result formula not working perfectly

    The formula in cell Z17 returns 1133974.45, because E17*E34 = 1133974.45

  8. #8
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Re: Formula showing wrong result formula not working perfectly

    i changed "QTY1" to "QTYn" but did not get disired result check attached file
    Attached Files Attached Files

  9. #9
    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
    30,887

    Re: Formula showing wrong result formula not working perfectly

    What I meant was change was change "Qty1" to "Qty2", "Qty3" etc in the formula for the appropriate table,

    Formula: copy to clipboard
    =IF(ISNUMBER(N8),IF(ISBLANK(X8),W8*INDEX($E$8:$E$297567,MATCH("QTY1",$D$8:$D$297567,0)-1),X8*INDEX($E$8:$E$297567,MATCH("QTY1",$D$8:$D$297567,0)-1)),"")


    Formula: copy to clipboard
    =IF(ISNUMBER(N8),IF(ISBLANK(X8),W8*INDEX($E$8:$E$297567,MATCH("QTY2",$D$8:$D$297567,0)-1),X8*INDEX($E$8:$E$297567,MATCH("QTY2",$D$8:$D$297567,0)-1)),"")


    etc .....

    What is the point of giving you a w/book sample if you cannot be bothered to look at it!
    Last edited by JohnTopley; 11-18-2023 at 12:24 PM.

  10. #10
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    543

    Re: Formula showing wrong result formula not working perfectly

    If i need to do changes in every formula it is very time consuming and that formula also become useless because formula made for automation the task if I need to change it manually instead of that I do calculation manually

  11. #11
    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
    30,887

    Re: Formula showing wrong result formula not working perfectly

    Well nothing I can do about how your data is formatted: If you cannot establish a connection between the "Qty" / "Rate" data and the corresponding data in N:W, how do expect ANY formula to know what data to use?

    The tables in N:W are dynamic (Varying size) so your original approach will (does) not work.

    Don't shoot the messenger!

  12. #12
    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
    30,887

    Re: Formula showing wrong result formula not working perfectly

    You only need to change the FIRST formula in a N:W "block" and then drag it down. Is it any hardship to put the formula into the appropriate cell in Column Z when you create a new table and change the "QTY" value in the formula?

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,029

    Re: Formula showing wrong result formula not working perfectly

    You could change it in blocks using Find & Replace.

    You have been a member long enough to realise that this thread title was pretty poor: titles are meant to tell us what yo uare trying to do. not that something isn't working (which is at best generic). Please make a better effirt in this respect next time.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. My formula was working perfectly but now isn't
    By zohan1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2021, 01:29 PM
  2. Slicer for table with date column showing wrong result
    By p3rlend in forum Excel General
    Replies: 1
    Last Post: 04-24-2016, 06:37 AM
  3. IF Formula gives the wrong result
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-04-2015, 11:23 AM
  4. [SOLVED] Code result wrong but formula correct result
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-11-2014, 12:26 PM
  5. [SOLVED] =mid formula not working/showing result
    By ryan4646 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-30-2013, 06:06 AM
  6. Wrong result with IF formula
    By rizmomin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-25-2012, 03:57 PM
  7. Formula result showing formula, not answer
    By sjm in forum Excel General
    Replies: 3
    Last Post: 02-26-2007, 06: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