Formula help! If cell is not blank, return value from another cell
I'm having trouble building a formula that works for the below requirement (see screenshot for reference).
If the cell in column 'INT / DOM / TEMP / NG' is NOT BLANK, then I need the column 'TITLE (Formula)' to pull through the value from a specific cell ('A1' in Excel terms, or 'TITLE / Security Title' in the example shown in the screenshot - the one in blue and yellow).
This is needed because I want to create several duplicates of this sheet, each one for a different 'TITLE / Security Title', and then create a Report that pulls all of the sheets together, with the rows able to be grouped by 'TITLE (Formula)' but ONLY if those rows contain anything in the 'INT / DOM / TEMP / NG' column.
I hope this makes some sense - can anyone help me with the formula?
Best Answer
-
Hi
I believe this formula, entered in the TITLE (Formula) column would work for you:
=IF(ISBLANK([INT / DOM / TEMP / NG]@row), "", TITLE$1)
It creates this:
You start with an IF
For the logical expression you use ISBLANK
ISBLANK([INT / DOM / TEMP / NG]@row) is checking that the cell in the column INT / DOM / TEMP / NG is blank
If that is true it puts in "" (ie nothing)
If it is false it puts in the value in the TITLE column, but instead of TITLE@row, it pulls just from row 1 because of the $1
Answers
-
Hi
I believe this formula, entered in the TITLE (Formula) column would work for you:
=IF(ISBLANK([INT / DOM / TEMP / NG]@row), "", TITLE$1)
It creates this:
You start with an IF
For the logical expression you use ISBLANK
ISBLANK([INT / DOM / TEMP / NG]@row) is checking that the cell in the column INT / DOM / TEMP / NG is blank
If that is true it puts in "" (ie nothing)
If it is false it puts in the value in the TITLE column, but instead of TITLE@row, it pulls just from row 1 because of the $1
-
AMAZING thank you! 😀
-
My pleasure!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!