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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.