FryGirl
Well-known Member
- Joined
- Nov 11, 2008
- Messages
- 1,368
- Office Version
- 365
- 2016
- Platform
- Windows
I’m trying to build a text string out of some cell, but Idon’t want the blank cells to appear.
In the first table I have an a-value and two x-values. Pretty easy to create the sting.
123.45 + 15.34(x1) + 12.44(x2)
=B1&" +"&B2&"("&A2&") +"&B3&"("&A3&")"
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[/TR]
</tbody>[/TABLE]
In the second table there is only one x-value. Is there a way to ignore the blank cells andjust get the one x-value?
15.34(x1)
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD][/TD]
[/TR]
[TR]
[TD]
[TD]
[TD]
[/TR]
[TR]
[TD]
[TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the first table I have an a-value and two x-values. Pretty easy to create the sting.
123.45 + 15.34(x1) + 12.44(x2)
=B1&" +"&B2&"("&A2&") +"&B3&"("&A3&")"
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD][TD]
B
[/TD][/TR]
[TR]
[TD]
1
[/TD][TD]
a
[/TD][TD]
123.45
[/TD][/TR]
[TR]
[TD]
2
[/TD][TD]
x1
[/TD][TD]
15.34
[/TD][/TR]
[TR]
[TD]
3
[/TD][TD]
x2
[/TD][TD]
12.44
[/TD][/TR]
</tbody>[/TABLE]
In the second table there is only one x-value. Is there a way to ignore the blank cells andjust get the one x-value?
15.34(x1)
Data Range
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD][TD]
B
[/TD][/TR]
[TR]
[TD]
1
[/TD][TD]
a
[/TD][TD][/TD]
[/TR]
[TR]
[TD]
2
[/TD][TD]
x1
[/TD][TD]
15.34
[/TD][/TR]
[TR]
[TD]
3
[/TD][TD]
x2
[/TD][TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: