Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7030221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:38:29+00:00 2026-05-28T00:38:29+00:00

An excel question (probably not the best place to ask) I have an MS

  • 0

An excel question (probably not the best place to ask)

I have an MS Excel formula that I am trying to ‘convert’ into PHP using IF/Else statements – is there any Excel gurus that could write the following line into pseudocode?

=IF(C10=0,IF(ABS(E2+C2)<0.51,"balanced",IF(ABS(E2+C2)<1.34,"slightly greater",IF(ABS(E2)<2.67,"slightly greater",IF(ABS(C2)>1.17,"slightly greater","significantly greater")))),IF(C10<1.18,"Low",IF(C10<2.68,IF(ABS(E2+C2)>0.51,IF(ABS(E2)>1.18,"High","Moderate"),"Moderate"),"High")))
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:38:31+00:00Added an answer on May 28, 2026 at 12:38 am

    I didn’t change the conditions, assuming you know how to do that, but I converted the nesting for you

    if(C10=0) {
        if(ABS(E2+C2)<0.51) {
            "balanced",
        } else {
            if(ABS(E2+C2)<1.34) {
                "slightly greater",
            } else {
                if(ABS(E2)<2.67) {
                    "slightly greater",
                } else {
                    if(ABS(C2)>1.17) {
                        "slightly greater",
                    } else {
                        "significantly greater"
                    }
                }
            }
        }
    } else {
        if(C10<1.18) {
            "Low"
        } else {
            if(C10<2.68) {
                if(ABS(E2+C2)>0.51) {
                    if(ABS(E2)>1.18) {
                        "High"
                    } else {
                        "Moderate"
                    }
                } else {
                    "Moderate"
                }
            } else {
                "High"
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've decided to take the advice in this question: create-excel-chart-programmatically-in-php and NOT attempt to
I have a question about Excel! I hope that isn't too unconventional for this
I have a question about password protecting an Excel file. The situation is that,
This is purely an Excel sheet question. I have a time span that is
I have a question regarding importing( Via the import/export wizard) an excel spreadsheet into
So, this question is probably fairly stupid, but I'm not too familiar with Excel
I'm pretty new to Excel, that question is probably easy, but I dont know
Quick question- I know this is probably really easy, but my excel skills have
Excel 2003 Question: I'd like to have one cell represent a range of cells.
I have a simple question in excel, I need to copy the content of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.