Use a criterion cell
=IF(A2="","",C2*2)Put the criterion in H2 so it can be changed without editing the formula.
Keep the result empty when the project cell is blank; otherwise double Amount.
Leave a project formula blank until data is entered with =IF(A2="","",C2*2). Paste it into an empty result cell, then change the ranges or criterion to match your columns.
The outer IF stops the calculation when Label is empty. In this worked project table, column A stores project labels, B stores Region, C stores Amount, D stores Date, E stores Status and F stores Notes.
The example uses four rows so you can check the output before applying the formula to a larger projects table. Edit any input in the playground and compare the new output with the visible criteria.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Project | Region | Amount | Date | Status | Notes |
| 2 | ||||||
| 3 | ||||||
| 4 | ||||||
| 5 |
=IF(A2="","",C2*2)Put the criterion in H2 so it can be changed without editing the formula.
=IF(A2="","",C2*2)Bounded ranges can calculate faster in a large file.
=IFERROR(IF(A2="","",C2*2),"No matches")Shows readable text instead of an error when the source has no qualifying rows.
Start every referenced range on row 2 and keep their ending rows aligned.
Check spelling, spaces, number formatting and whether dates are stored as real dates.
Add Project non-blank logic when unused rows should be excluded.
Yes. Replace the quoted criterion with a cell reference such as H2.
Yes. Whole-column ranges are convenient; bounded ranges can be faster in a very large spreadsheet.
Check extra spaces, data types, date values and whether every range begins on the same row.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.