Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
akarca
Frequent Visitor

Output for same ID which has blank and value in another column.

Hello, 

I have a question. 

There are repeating numbers in the ID column. For each ID, there are dates and empty cells in column B. What I want to do is, if column B for an ID is empty and there is a date, write 1 in the status column. If all cells in column B are empty for repeating IDs, the status will remain empty.

 

 

NIDABstatus
1123451.01.20232.09.20231
234566.07.2023  
3123451.01.2023 ???
44562349.05.2023  
5 REPLIES 5
Ahmedx
Super User
Super User

pls try this

Screenshot_1.png

Ashish_Mathur
Super User
Super User

Hi,

Show the exact result you are expecting very clearly?  What does the ??? mean?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
akarca
Frequent Visitor

@Ashish_Mathur  could you help me please? 

akarca
Frequent Visitor

Hello Mathur, 

I have an excel table with employee IDs. The same ID repeats in the rows, but in some rows, there is an employment date and exit date for the same ID, but in some rows the exit date for this ID is empty. What I want to do: If there is an entry-exit date of the ID in one line and the exit date of the same ID is empty in the next lines, write the date on the filled line.

Hasn't Ahmedx already answered your question?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors