asked 97.1k views
4 votes
In cell C5, enter a formula using the IFS function that returns a value of P1 if cell B5 is greater than 50,000, a value of P2 if cell B5 is greater than 25,000, and a value of P3 for all other results.

asked
User Velda
by
7.7k points

2 Answers

4 votes

Final answer:

To return specific values based on conditions, use the IFS function in Excel.

Step-by-step explanation:

To achieve the desired result, you can use the IFS function in cell C5. The formula will have multiple conditions based on the value of cell B5. Here's how you can set it up:

  1. In cell C5, start by typing the IFS function: =IFS(
  2. For the first condition, check if B5 is greater than 50,000. If true, return the value P1: B5>50000, "P1",
  3. For the second condition, check if B5 is greater than 25,000. If true, return the value P2: B5>25000, "P2",
  4. For all other values, return the value P3: TRUE, "P3")

After completing the formula, press Enter to get the expected result based on the value in cell B5.

answered
User Adrian Grigore
by
8.1k points
0 votes

In order to execute the above in Microsoft Office Excel, you can use the following formula in Cell C5:

= IFS(B5 > 50000, "P1 ", B5 > 25000, "P2", TRUE, "P3)

This formula checks if B5 is greater than 50,000, returns "P1"; if not, checks if B5 is greater than 25,000, returns "P2"l otherwise, returns "P3".

Simply type the equal sign (=) followed by the numbers you wish to calculate and the math operators you wish to use ( * for multiplication, + for subtraction,asterisk for addition, and forward slash ( /) for division) to use formulas.

There are complicated formulae and functions and there are basic ones. Some of the sophisticated features include:

The XLOOKUP feature

The VLOOKUP feature

MATCH Function / Index

SUM Function of Product

Functions for SUMIFS/COUNTIFS and SUMIF/COUNTIF

FILTER Operation

Function of SORT and SORTBY

A Unique Purpose

answered
User Nico Z
by
8.4k points