IBM Support

How do I create a variable using blank rows as delineators

Question & Answer


Question

I have Excel data that comes to me grouped by row.  Each separate group is delineated by an empty row.  Thus, rows 1-5 have values and belong to group 1.  Row 6 is blank.  Rows 7-25 have values, so group 2, and so on.

How do I create that grouping variable using the blank row to increment the value?

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"ARM Category":[{"code":"a8m50000000ClMCAA0","label":"Statistics-\u003EHow To-\u003EData\/Usage"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3PMY","label":"IBM SPSS Statistics Digital"},"ARM Category":[{"code":"a8m50000000ClMCAA0","label":"Statistics-\u003EHow To-\u003EData\/Usage"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM SPSS Statistics

Component:
Statistics->How To->Data/Usage

Software version:
All Version(s)

Document number:
6217976

Modified date:
22 May 2025

UID

ibm16217976

Manage My Notification Subscriptions