+ Reply to Thread
Results 1 to 13 of 13

Formula to calculate column values as based IF/And function

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Formula to calculate column values as based IF/And function

    Hello,

    I am trying to match the calculation of column values through IF/And/Or function but unable to extract the same by formulas even I am using another column helper but the result is not getting the same as I want. Please help me to calculate the exact values. Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Formula to calculate column values as based IF/And function

    No explanations whatsoever in your file. Provide the logic behind your expected formula
    Click the * to say thanks.

  3. #3
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Formula to calculate column values as based IF/And function

    Quote Originally Posted by PaulM100 View Post
    No explanations whatsoever in your file. Provide the logic behind your expected formula
    In Column E is the Sellout Qty of Last 4 Weeks, I have to calculate the suggested order based on Sellout Qty. Below are the criteria to calculate the suggested order.




    1) SKU should available [Column F] is 12 days of stock based on the last 28 days sellout ( Last4Weeks sellout)
    2) If Sellout Qty is Zero then Column F will be minimum 1 Qty.
    3) If Column F is more than the stock norms (Column D) than the Suggested Order (SO) will not be more than Stock norms.
    4) If Column F is less than the stock norms then the SO will be (SKU should available - Closing Stock).

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,464

    Re: Formula to calculate column values as based IF/And function

    FYI I have no idea what SKU means... Don't expect everyone to understand your technical jargon. Thanks

  5. #5
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Formula to calculate column values as based IF/And function

    SKU means Stock Keeping Unit and everyone knows it bro.!

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,464

    Re: Formula to calculate column values as based IF/And function

    Quote Originally Posted by Pankaj jaswani View Post
    SKU means Stock Keeping Unit and everyone knows it bro.!
    I'm sorry but I don't and why should I ? Please show some courtesy to those willing to help
    I also don't like being called "bro" by persons I don't know

  7. #7
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Formula to calculate column values as based IF/And function

    Okay thanks..

  8. #8
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Formula to calculate column values as based IF/And function

    2nd and 3rd rows contain the exact same values in columns D and F, but you have 1 and 0 in H. Makes no sense right now.

  9. #9
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Formula to calculate column values as based IF/And function

    Quote Originally Posted by PaulM100 View Post
    2nd and 3rd rows contain the exact same values in columns D and F, but you have 1 and 0 in H. Makes no sense right now.
    Bro Column D is for Stock Norms and Column F is for SKU should available (which is calculated based on Sellout/28*12) and in H column is suggested order this value is calculated based on the portal but I want to extract this value by a formula with the mentioned criteria.

  10. #10
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Formula to calculate column values as based IF/And function

    You still didn't answer my question. You don't need to explain me the logic behind each column. You need to explain the logic on how to arrive at the desired results when you have the same values, but different results.
    1) SKU should available [Column F] is 12 days of stock based on the last 28 days sellout ( Last4Weeks sellout)
    2) If Sellout Qty is Zero then Column F will be minimum 1 Qty.
    3) If Column F is more than the stock norms (Column D) than the Suggested Order (SO) will not be more than Stock norms.
    4) If Column F is less than the stock norms then the SO will be (SKU should available - Closing Stock).
    Formula for this would be =IF(F4>D4,0,IF(F4<D4,G4)) which is incomplete

  11. #11
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Formula to calculate column values as based IF/And function

    Quote Originally Posted by PaulM100 View Post
    You still didn't answer my question. You don't need to explain me the logic behind each column. You need to explain the logic on how to arrive at the desired results when you have the same values, but different results.

    Formula for this would be =IF(F4>D4,0,IF(F4<D4,G4)) which is incomplete

    Actually the desired result is exported from site, but i have no access to get this type of report from now. But i want to calculate this result manually by formula.

  12. #12
    Forum Contributor
    Join Date
    07-27-2018
    Location
    Jodhpur, India
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 Pro 64-bit)
    Posts
    405

    Re: Formula to calculate column values as based IF/And function

    This type of calculation will be on a daily basis, I have to calculate daily suggested order based sellout qty and criteria. And I am trying to match the same result by a formula but unable to track with my formulas. That is why I am asking for help from you guys.

  13. #13
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Formula to calculate column values as based IF/And function

    There is no logic that can be understood in the file. If you find out the rules, then we could set up a formula.

+ 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. Calculate values in two columns based on a value in a third column
    By rdowney79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-14-2014, 10:05 AM
  2. Calculate mean of column B values based on date values in column A
    By up&down in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-05-2013, 12:26 PM
  3. Calculate Values in a row based on value of first column
    By travisg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2013, 01:39 PM
  4. Replies: 4
    Last Post: 12-12-2012, 11:26 AM
  5. Replies: 4
    Last Post: 12-12-2012, 10:37 AM
  6. [SOLVED] Formula to calculate sum of column range based on presence of value in another column
    By abreet in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-23-2012, 10:37 PM
  7. Replies: 0
    Last Post: 02-04-2005, 03:58 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