Android Century
  • Home
  • Android Zone
    • Android Apps
    • Android Games
    • Apps APk Files
    • Games Apk Files
    • Apps Hack Tricks
  • Reviews
  • Fantasy Zone
    • Entertainment
    • Quotes and Status
    • Life Style
    • Home Made Tips
    • Hair Care
    • Skin Care
    • Fantasy Tips
  • Tricks
    • Free Recharge
    • Free Internet
    • shopping Cashback
    • Recharge Cashback
  • Tech
  • Mobiles
  • Gadgets
  • News
  • How To's
  • Software
Breaking
Loading...

Featured post

How to Take Great Photos With Apple's iPhone X

Recent Posts

Labels

  • Android Apk Files
  • Android Apps
  • Android Games
  • Apps Apk Files
  • Entertainment
  • Fantasy Tips
  • Gadgets
  • Hair Care
  • HomeMade Tips
  • How To's
  • News
  • Quotes
  • Quotes & Status
  • Recharge Cashback
  • Recharge Promo Codes
  • Shopping Cashback
  • Technology
  • skin care
Home / How To's / Excel logical formulas: 8 easy IF statements to get started

Excel logical formulas: 8 easy IF statements to get started

Latest Govt. Jobs 13:20:00 How To's Edit
Excel functions, or formulas, lie at the heart of the application’s deep well of capabilities. Today we’ll tackle IF statements, a string of commands that determine whether a condition is met or not. Just like a yes-no question, if the specified condition is true, Excel returns one user-determined value and, if false, it returns another.
The IF statement is also known as a logical formula: IF, then, else. If something is true, then do this, else/otherwise do that. For example, if it’s raining, then close the windows, else/otherwise leave the windows open.
The syntax (or sentence structure; that is, the way the commands are organized in the formula) of an Excel IF statement is: =IF(logic_test, value_if true, value_if_false). IF statements are used in all programming languages and, although the syntax may vary slightly, the function provides the same results.
[ Further reading: Your new PC needs these 15 free, excellent programs ]
Remember: Learning Excel functions/formulas and how they work are the first steps toward using Visual Basic, Microsoft’s event-driven programming language. Here are five easy IF statements to get you started.

Past-due notices

In this spreadsheet, the customer’s payment due date is listed in column A, the payment status is shown in column B, and the customer’s company name is in column C. The company accountant enters the date that each payment arrives, which generates this Excel spreadsheet. The bookkeeper enters a formula in column B that calculates which customers are more than 30 days past due, then sends late notices accordingly.
A. Enter the formula: =TODAY() in cell A1, which displays as the current date.
B. Enter the formula: =IF(A4-TODAY()>30, “Past Due”, “OK”) in cell B4.
In English, this formula means: If the date in cell A4 minus today’s date is greater than 30 days, then enter the words ‘Past Due’ in cell B4, else/otherwise enter the word ‘OK.’ Copy this formula from B4 to B5 through B13.
excel logical formulas screen1
Use an IF statement to flag past-due accounts so you can send notices to those customers.

Pass/Fail lifeguard test

The Oregon Lifeguard Certification is a Pass/Fail test that requires participants to meet a minimum number of qualifications to pass. Scores of less than 70 percent fail, and those scores greater than that, pass. Column A lists the participants’ names; column B shows their scores; and column C displays whether they passed or failed the course. The information in column C is attained by using an IF statement.
Once the formulas are entered, you can continue to reuse this spreadsheet forever. Just change the names at the beginning of each quarter, enter the new grades at the end of each quarter, and Excel calculates the results.
A. Enter this formula in cell C4: =IF(B4<70,”FAIL”,”PASS”). This means if the score in B4 is less than 70, then enter the word FAIL in cell B4, else/otherwise enter the word PASS. Copy this formula from C4 to C5 through C13.
excel logical formulas screen2
Use an IF statement to convert numeric scores to a pass-fail status.

Sales & bonus commissions

Wilcox Industries pays its sales staff a 10-percent commission for all sales greater than $10,000. Sales below this amount do not receive a bonus. The names of the sales staff are listed in column A. Enter each person’s total monthly sales in column B. Column C multiples the total sales by 10 percent, and column D displays the commission amount or the words ‘No Bonus.’ Now you can add the eligible commissions in column D and find out how much money was paid out in bonuses for the month of August.
A. Enter this formula in cell C4: =SUM(B4*10%), then copy from C4 to C5 through C13. This formula calculates 10 percent of each person’s sales.
B. Enter this formula in cell D4: =IF(B4>10000, C4, “No bonus”), then copy from D4 to D5 through D13. This formula copies the percentage from column C for sales greater than $10,000 or the words ‘No Bonus’ for sales less than $10,000 into column D.
C. Enter this formula in cell D15: =SUM(D4:D13). This formula sums the total bonus dollars for the current month.
excel logical formulas screen3
Use an IF statement to calculate sales bonus commissions.

Convert scores to grades with nested IF statements

This example uses a “nested” IF statement to convert the numerical Math scores to letter grades. The syntax for a nested IF statement is this: IF data is true, then do this; IF data is true, then do this; IF data is true, then do this; IF data is true, then do this; else/otherwise do that. You can nest up to seven IF functions.
The student’s names are listed in column A; numerical scores in Column B; and the letter grades in column C, which are calculated by a nested IF statement.
A. Enter this formula in cell C4: =IF(B4>89,”A”,IF(B4>79,”B”,IF(B4>69,”C”,IF(B4>59,”D”,”F”)))), then copy from C4 to C5 through C13.
Note: Every open, left parenthesis in a formula must have a matching closed, right parenthesis. If your formula returns an error, count your parentheses.
excel logical formulas screen4
Use a nested IF statement to convert numeric scores to letter grades.

Determine sliding scale sales commissions with nested IF statements

This last example uses another nested IF statement to calculate multiple commission percentages based on a sliding scale, then totals the commissions for the month. The syntax for a nested IF statement is this: IF data is true, then do this; IF data is true, then do this; IF data is true, then do this; else/otherwise do that. The names of the sales staff are listed in column A; each person’s total monthly sales are in column B; and the commissions are in column C, which are calculated by a nested IF statement, then totaled at the bottom of that column (in cell C15).
A. Enter this formula in cell C4: =IF(B4<5000,B4*7%,IF(B4<8000,B4*10%,IF(B4<10000,B4*12.5%,B4*15%))), then copy from C4 to C5 through C13.
B. Enter this formula in cell C15: =SUM(C4:C13). This formula sums the total commission dollars for the current month.
excel logical formulas screen5
Use a nested IF statement to calculate different commissions based on different percentages.

Calculate product price based on quantity

Many retailers and most wholesalers provide customers a price break based on quantity. For example, a wholesaler may sell 1 to 10 T-shirts for $10.50 each, and 11 to 25 T-shirts for $8.75 each. Use the following IF statement formula to determine how much money you can save by purchasing wholesale products for your company in bulk.
1. Enter the header Wholesale Prices in cell A3. Enter the headers Qty and Cost in cells B3 and C3.
2. Enter the quantity breaks in cells B4 through B9.
3. Enter the price breaks in cells C4 through C9.
This is the quantity/price matrix for your wholesale business.
06 calculate product prices based on quantityPC World / JD Sartain
Calculate product prices based on quantity.
4. Next, enter the headers Qty Ordered and Qty Cost in cells B11 and C11.
5. Enter the header Wholesale Products in cell A11, then enter as many products as you like below.
6. Enter the quantity ordered for each product in column B.
7. And last, enter the following formula in the adjacent cells of column C:
=B12*IF(B12>=101,3.95,IF(B12>=76,5.25,IF(B12>=51,6.3,IF(B12>=26,7.25, IF(B12>=11,8,IF(B12>=1,8.5,””))))))
Note there are no spaces in this formula. Copy down the formula as far as needed in column C to apply to all the wholesale products and quantities in columns A and B.
8. Once the order is complete, create a total line: In column A (in this case, A20), type TOTAL Invoice Amount. In column C (in this case, C20), use the SUM function to total the column.
Now, that all the formulas are in place, all you have to do each week (or month) is enter the new quantities in column B, and Excel does the rest. If the prices change, just modify the matrix at the top of the spreadsheet, and all the other formulas and totals will automatically adjust.

Using other functions inside the IF statement

In this example, we’ll nest two IF statements and insert the SUM function all into the same formula. The purpose is to determine whether the individual’s goals are less than, equal to, or greater than the company’s monthly cap.
1. Enter a monthly cap amount in B1, which can be changed every month to reflect the company’s expectations.
2. Enter the following headers in cells A3 through G3: Goals, 1st Qtr, 2nd Qtr, 3d Qtr, 4th Qtr, Goals or Cap?, and Bonus.
3. Enter the top five marketing persons' goal amounts in cells A4 through A8.
4. Enter the same individuals' quarterly totals in cells B4 through E8.
07 using other functions inside the if statementPC World / JD Sartain
Using other functions INSIDE the If Statement
For employees who achieved their goals, the bonus is 10% of the goal amount. For employees who exceeded the monthly cap, the bonus is 25% of their actual sales. Use these formulas to determine the bonus amounts.
5. Enter this formula in cells F4 through F8: =IF(A4<=B1,A4,IF(A4>B1,SUM(B4:E4,0)))
6. Enter this formula in cells G4 through G8: =IF(F4<=A4,F4*10%,IF(F4>=B1,F4*25%,0))

Use IF to avoid dividing by zero

In Excel, if you try to divide any number by zero, the error message that Excel displays is this: #DIV/0!
So, what to do if you have a large database that requires a calculation based on division, and some of the cells contain zeros? Use the following IF statement formula to address this problem.
1. To track the money collected per month by the staff at Friar Tuck’s Fundraisers, open a spreadsheet and create the following headers: Dollars in A1, Dollars per Worker in B1, Dollars Left Over in C1.
2. Enter some dollar amounts in column A and the number of staff working per day in column B. Column B will include some zeroes because, some days, nobody works (but donations still come in through the mail). 
2. Enter this formula in C2 through C11: =IF(B2<>0,A2/B2,0). By using an IF statement to prevent Excel from dividing any of the funds collected by zero, only the valid numbers are calculated.
08 use if to avoid errors from dividing by zeroPC World / JD Sartain
08 Use IF to avoid errors from dividing by zero
3. You could use another IF statement to locate the zeroes in column B, then total the corresponding dollars in column A, which would then be divided equally among all the staff. Copy this formula in D2 through D11: =IF(B4=0,A4,0).
4. Next, move your cursor to B12 and enter this formula =MAX(B2:B11) to locate the largest number of workers in column B, which is eight.
5. Move your cursor to D12 and enter this formula: =SUM(D2:D11)/B12. The answer is $392.50 for each of the eight staff members working at Friar Tuck’s Fundraisers. 
Share on Facebook Share on Twitter Share on Google Plus

RELATED POSTS


How to Sync Your Contacts Between A...

How to Know a Wi-Fi Network Is Fast...

How to delete your Google search hi...
Excel logical formulas: 8 easy IF statements to get started Excel logical formulas: 8 easy IF statements to get started Reviewed by Latest Govt. Jobs on 13:20:00 Rating: 5

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )

Search This Blog

TEST BOOK FOR GOVT ENTRANCE TEST

TEST BOOK FOR GOVT ENTRANCE TEST
Find All Latest book for preparation of SSC,RAILWAYBANK PO,RBI,BANK CLERK,GATE ME,GATE CE are available here in less prices, to check out the books click here

Translate

  • Popular Post
  • Random posts
  • Category

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & Earn Offer:  Hey Guys! Today I make an article about Teen Patti Referral ...
  • Hands-on with the home windows 10 Creators update for the Xbox One: Beam recreation streaming arrives
    The Windows 10 Creators Update is here, now—yes,  now —but not (officially) on the PC. The ...
  • Taotronics TT-BH22 Headphones Review
    We make it a addiction to now not look up pricing of a product sooner than reviewing and if ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on Monday strongly condemned North Korea’s latest missile test, adding that the ...
  • Bank wallets growing faster than e-wallets
    In the  bank  versus  e-wallets  sweepstakes,  lenders  have now gained lost ground. As of ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...

Random Posts

  • Asus ZenFone 5 with 18:9 display
    Asus ZenFone 5 with 18:9 display
    04.02.2018 - 0 Comments
    Asus ZenFone 5 will feature a 5.7-inch 18:9  bezel-less display and dual rear…
  • Top best free security software of  2017
    Top best free security software of 2017
    01.03.2017 - 0 Comments
    The best free security software Reliable antivirus is essential for any internet-connected PC, but…
  • Google crams machine learning into smartwatches in AI push
    Google crams machine learning into smartwatches in AI push
    14.02.2017 - 0 Comments
    Google is bringing artificial intelligence to a whole new set of devices, including Android Wear 2.0…
  • How to create custom 404 errors web page for Bloggers blog
    How to create custom 404 errors web page for Bloggers blog
    06.04.2017 - 0 Comments
    I always follow this small quote when started blogging. The quote says “the blogger should love its blog as…
  • Truecaller picks up huge update with Google Duo integration, charge help in India
    Truecaller picks up huge update with Google Duo integration, charge help in India
    29.03.2017 - 0 Comments
    Truecaller is doubling down in India. Truecaller has announced that it is teaming up with Google to…

Labels

Android Apk Files Android Apps Android Games Apps Apk Files Apps Hack Tricks Entertainment Free Internet Freecharge Gadgets Games Apk Files How To's Laptops Guide Mobiles Reviews Technology Viral's android zone free recharge

Entertainment

Tricks

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • Steam Now Supports PS4's DualShock 4 Controller
    HIGHLIGHTS ...
  • Lenovo Yoga Book launched in India at Rs 49,990: First Impressions
    Lenovo  has ...
  • This $15 stand turns your Apple Watch into a mini Macintosh
    For all those  ...
  • Grow Hair Faster: How to Make Hair Grow Faster Naturally
    Every woman wants ...
  • MobiKwik - Update E-KYC & Get Rs. 100 Supercash
    MobiKwik - Update E-KYC & Get Rs. 100 Supercash
    Mobikwik - Update ...
  • Fitbit Flex 2017 review
    Fitbit PROS ...

Random Posts

  • Your phone contacts will quickly have 'My domestic,' 'My car,' 'My workplace'
    Your phone contacts will quickly have 'My domestic,' 'My car,' 'My workplace'
    13.03.2017 - 0 Comments
    In today's so-called smart home, you can dim the lights, order more toothpaste or tell the kids to go…
  • Paytm : How  To Bypass Paytm OTP Verification 2017
    Paytm : How To Bypass Paytm OTP Verification 2017
    03.03.2017 - 0 Comments
    Hello Readers, Today I am sharing a trick to login in paytm app without otp. Paytm added a new security in…
  • How To Prevent Windows Updates From Crashing Your PC
    How To Prevent Windows Updates From Crashing Your PC
    13.01.2017 - 0 Comments
    Let me first preface all of the following with this: updates provided by Microsoft rarely cause…
  • XnRetro Download of the day
    XnRetro Download of the day
    08.04.2017 - 0 Comments
    XnRetro XnRetro is a fun and easy way to give ordinary photos an old-school twist. This is no…
  • OnePlus 3T with Qualcomm Snapdragon 821 SoC, 3,400mAh battery launched
    OnePlus 3T with Qualcomm Snapdragon 821 SoC, 3,400mAh battery launched
    16.11.2016 - 0 Comments
    NEW  DELHI: Putting weeks of rumours and leaks to rest, OnePlus has finally launched its…

Most Popular

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J ...
  • Top 5 Best SmartPhones under 7000 Rs (March 2017)
    Looking for the ...
  • Apple, IBM, Cisco are huge because of Indians, do not deny them H-1B visa: RBI Governor Urjit Patel
    ...
  • SAMSUNG GALAXY J7 (2016) Specifications
    SAMSUNG GALAXY J ...
  • BlackBerry Teases Marshmallow Beta Testing for Priv by Next Week
    Blackberry ...
  • LG Q6 Review
    LG Q6 Review
    2017 is ...

Contact Form

Name

Email *

Message *

Offers Zone

Created By Android Century Distributed by Android Century
  • Home
  • About us
  • Contact us
  • Privacy policy
  • Terms of use
  • Advertise here
Subscribe Via Email Subscribe To Android Century By Email And Get Free Updates. ;-)


Your email address is safe with us!