Please_Please_Help_Me
New Member
- Joined
- Aug 19, 2021
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hello,
My understanding of VLOOKUP function is that you cannot insert a range of cells as the lookup value. So, I am trying to find a workaround that only outputs data if the value in a 'lookup range' is not blank.
Please see the attached original_data.jpg.
I would like to return Customer Names and Account Numbers if the values in the Date column are not blank. However, I do not want the number of rows in the output to equal those of the original data (shown in not_ideal_outcome.jpg). I was able to create that with an if statement. Instead, I need to avoid blank rows in the output (shown in ideal_outcome.jpg).
I am trying to automate the process of manually deleting blank output rows because I need this for a macro that will be used on an excel file that constantly changes.
Thank you!
My understanding of VLOOKUP function is that you cannot insert a range of cells as the lookup value. So, I am trying to find a workaround that only outputs data if the value in a 'lookup range' is not blank.
Please see the attached original_data.jpg.
I would like to return Customer Names and Account Numbers if the values in the Date column are not blank. However, I do not want the number of rows in the output to equal those of the original data (shown in not_ideal_outcome.jpg). I was able to create that with an if statement. Instead, I need to avoid blank rows in the output (shown in ideal_outcome.jpg).
I am trying to automate the process of manually deleting blank output rows because I need this for a macro that will be used on an excel file that constantly changes.
Thank you!