Create different questions by changing labels

boyalone_iaf

New Member
Joined
Jul 14, 2009
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
I have the below code:

<radio
label="Q1"
cardrating:completion="Loading..."
cardrating:progress="0"
kinesis:nokdp="1"
rowShuffle="rotate"
shuffle="rows"
uses="cardrating.1">
<title>Which of the following topics are you <strong>interested in</strong> <u>and</u> <strong>engage with content about</strong>, whether it is through video &amp;amp; reels, images + captions, online posts &amp;amp; discussions, podcasts, online articles, magazine articles etc.?</title>
<comment><em>Select all that apply.</em></comment>
<col label="c1">Interested</col>
<col label="c2">Not Interested</col>



<row label="r1" cs:cat="1">Beauty (cosmetics, skin care, nails, hair, fragrance)</row>
<row label="r2" cs:cat="1">Fashion and style</row>
<row label="r3" cs:cat="2">Celebrity news, photos or videos</row>
<row label="r4" cs:cat="2">Entertainment news and what's new in movies, TV, music and books</row>
<row label="r5" cs:cat="2">Awards shows and red carpet events</row>
<row label="r6" cs:cat="2">True crime</row>
<row label="r7" cs:cat="3">Managing personal finances or investing</row>
<row label="r8" cs:cat="4">Food, cooking ideas and recipes</row>
<row label="r9" cs:cat="4">Wine, spirits or beer</row>
<row label="r10" cs:cat="5">Healthy living, mental wellness and exercise</row>
<row label="r11" cs:cat="5">Parenting &amp; Family</row>
<row label="r12" cs:cat="6">Pets</row>
<row label="r13" cs:cat="6">Entertaining</row>
<row label="r14" cs:cat="6">Gardening</row>
<row label="r15" cs:cat="6">Do-it-yourself &amp; home renovation projects</row>
<row label="r16" cs:cat="6">Home design, décor and organization</row>
<row label="r17" cs:cat="7">Travel</row>
</radio>


I need to break down the question as per the number of rows. For example as per below, the rows are 17 so the labels should say label="Q1r1" and the new question should become as below and so on... label="Q1r2", label="Q1r3".... label="Q1r17"
<radio
label="Q1r1"
cardrating:completion="Loading..."
cardrating:progress="0"
kinesis:nokdp="1"
rowShuffle="rotate"
shuffle="rows"
uses="cardrating.1">
<title>Which of the following topics are you <strong>interested in</strong> <u>and</u> <strong>engage with content about</strong>, whether it is through video &amp;amp; reels, images + captions, online posts &amp;amp; discussions, podcasts, online articles, magazine articles etc.?</title>
<comment><em>Select all that apply.</em></comment>
<col label="c1">Interested</col>
<col label="c2">Not Interested</col>

<row label="r1" cs:cat="1">Beauty (cosmetics, skin care, nails, hair, fragrance)</row>
</radio>

Kindly let me know if there could be some suggestions.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top