IF Function

Relevant answer

David Horton 1 year ago

https://support.microsoft.com/en-us/office/use-conditional-formatting-to-highlight-information-fed60dfa-1d3f-4e13-9ecb-f1951ff89d7f#:~:text=1%20Select%20one%20or%20more%20cells%20in%20a,use%2C%20and%20then%20select%20a%20format.%20See%20More

0 Likes

Relevant answer

Fahad Khan 1 year ago

For example if these three cells are

A1 = Net Taxable Income B2 = Bracket C3 = Fixed Rate

Now for B2

=If(A1>8000,000,select cell where 4000,000 is written,if(A1>2000,000,select cell where 800,000 is written,if(A1>800,000,select cell where 400,000 is written,select cell where 250,000 is written)))

1 Like

Relevant answer

Gavin Downes 1 year ago

this formula will search within a string in each cell for values found in a lookup table then display the result. Yes I just wrote nonsense sentences. If the string has several found values, it will look up the last one found. Notice the last cell has h4 and h2 found in dash2

=IFERROR(VLOOKUP(TEXTJOIN(", ",1,FILTER($D$1:$D$5,ISNUMBER(SEARCH($D$1:$D$5,A1)),"")),$D$1:$E$5,2),"")

1 Like

Relevant answer

Will Taylor 1 year ago

There is a simple way of doing this using Excel's built-in data validation feature.

  1. Select the cell where you want the "To be filled by Customer" text to appear.

  2. Go to the "Data" tab and click on "Data Validation".

  3. In the "Settings" tab, select "Custom" from the "Allow" dropdown menu.

  4. In the "Formula" bar, enter the following formula: =IF(A1="", "To be filled by Customer", "")

  5. Replace "A1" with the cell reference of the cell you want to monitor. This formula checks if the cell A1 is blank, and if it is, it displays the "To be filled by Customer" text. If it's not blank, it displays an empty string, which means the text will disappear.

  6. Click on the "Input Message" tab and enter a message that explains what the user needs to do in order to complete the cell. This message will be displayed when the user selects the cell.

  7. Click on "OK" to save the data validation rule.

Now, when the user selects the cell, they will see the input message and the "To be filled by Customer" text. Once they start typing in the cell, the text will disappear automatically.

1 Like

Relevant answer

Jeff Blakley 1 year ago

In addition, look for formulas that reference large numbers of cells. If you recently switched from an older version of office to 365, then the problem could be due to the differences in how the formula calculation works. For example, I've seen people write lookup formulas like =vlookup(A:A, Sheet2!A:B, 2, false), which worked fine in their older version of excel (because its calculation mode converted the A:A reference to an individual cell), but crashed when they switched to 365 because 365 will attempt to look up every cell in column A (each vlookup formula trying to look up over a million values and ran the machine out of memory).

1 Like

Relevant answer

Sancho Almeda 1 year ago

Hello Dan Cons. Let me give it a try.

From what I understand, any result from -25% to +25% is Within Tolerance. If so, there will be three conditions for this:

If Greater than positive 25% (26% and up) Then Under Consumption If Within negative 25% and positive 25% (-25% to 25%) Then Within Tolerance If Less than negative 25% (-26% and below) Then Over Consumption

Assuming that Forecast and Actual are in Column A and B respectively:

=IF((A2/B2-1)>=0.26,"Under",IF(AND((A2/B2-1)>=-0.25,(A2/B2-1)<=0.25),"Within","Over"))

Below is also the screenshot of what I did.

Hope this helps.

2 Likes

Relevant answer

Erik Guzik 1 year ago

its not conditional formatting, you need a function... so if you are typing data in column A and want column B to say "Paid"

Column B lets say you start in row 4, so in B4 you enter =If(A4="","","Paid") Then you copy it down as many rows as you think you need.

1 Like

Relevant answer

Will Taylor 1 year ago

To remove the data from sheet one that appears in sheet two, you can use the following steps:

  1. In Sheet1, create a new column to the right of the existing columns, and label it "Match".

  2. In the first row of the "Match" column, enter the following formula:

=IF(COUNTIFS(Sheet2!A:A,A2,Sheet2!B:B,B2,Sheet2!C:C,C2)>0,"Yes","No")

This formula checks if the reference number, first name, and date of birth in the current row of Sheet1 match any row in Sheet2. If there is a match, the formula will return "Yes" in the "Match" column, otherwise it will return "No".

  1. Copy the formula from the first row of the "Match" column down to the bottom of the data in Sheet1.

  2. Filter the data in Sheet1 by the "Match" column to show only the rows where the formula returned "No".

  3. Select all the visible rows in Sheet1 and delete them.

  4. Turn off the filter to show all the remaining rows in Sheet1.

  5. This should remove any data from Sheet1 that appears in Sheet2.

2 Likes

Hot network questions