Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split Issue

Status
Not open for further replies.

Extrmdressage

Technical User
Sep 24, 2009
12
US
I need to split data like this

40/52
39.5/52
37.5/49

into just the first portion of data before the /. I tried using a split function, but get an error saying the result of a formula cannot be an array. Does anyone have any ideas on how I can get around this?
 
You just need to subscript the formula you already have:

split({yourfield},"/")[1]

 
if you always want everything to the left of the first "/", this should do it.

left({table.field},(instr({table.field},"/")-1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top