This formula works I need some spaces

Kurt

Well-known Member
Joined
Jul 23, 2002
Messages
1,664
I need 5 spaces after the 4" part of the formula.

The formula is working except for not having the spacing

Code:
=IF(K11=0,I11     &      "$"&TEXT(AH11,".00")&"/Qty",AH11&"/lf")
 
Last edited:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

6StringJazzer

Well-known Member
Joined
Jan 27, 2010
Messages
2,709
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
What is this formula doing different than what you want it to do? What do you mean by the 4" part of the formula? Not having what spacing?
 
Upvote 0

Kurt

Well-known Member
Joined
Jul 23, 2002
Messages
1,664
The test is displaying together I need 5 spaces after the first item is displayed.
 
Upvote 0

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,682
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Do you mean this?

=IF(K11=0,I11&" $"&TEXT(AH11,".00")&"/Qty",AH11&"/lf")
 
Upvote 0

Kurt

Well-known Member
Joined
Jul 23, 2002
Messages
1,664
ADVERTISEMENT
Do you mean this?

=IF(K11=0,I11&" $"&TEXT(AH11,".00")&"/Qty",AH11&"/lf")

Hello Rory and all

Thanks for your efforts! Almost there.

I need it something like this but without displaying the " "

Code:
=IF(K11=0,I11& "     ""$"&TEXT(AH11,".00")&"/Qty",AH11&"/lf")
 
Upvote 0

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,682
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
I forgot that the board software strips out excessive spaces. It should have read:

Code:
=IF(K11=0,I11&"     $"&TEXT(AH11,".00")&"/Qty",AH11&"/lf")
 
Upvote 0

Kurt

Well-known Member
Joined
Jul 23, 2002
Messages
1,664
ADVERTISEMENT
Hello Rory,

That worked beautifully!

Have a great day and cheers from across the Pond.

Thanks,

Kurt
 
Upvote 0

Kurt

Well-known Member
Joined
Jul 23, 2002
Messages
1,664
Hello Rory and all,

I need to test for one more condition.

If there is a 0 in the cell then it needs to display the same way but display the contents of column M and then the /lf at the end.

Thanks,

Kurt
 
Upvote 0

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,682
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
A 0 in which cell?
 
Upvote 0

Kurt

Well-known Member
Joined
Jul 23, 2002
Messages
1,664
Actually if there is an a number in cell K which Is lf linear feet it should display the contents of cell N.

I need to test for this additional parameter.
 
Upvote 0

Forum statistics

Threads
1,195,961
Messages
6,012,573
Members
441,712
Latest member
MartinGM

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
Top