View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
driller driller is offline
external usenet poster
 
Posts: 740
Default looking for a way to repeat a formula pattern within a cell

Hi dla,

will u try this formula?
=2*(LEFT(C1,IF(LEN(C1)=1,1,LEN(C1)-1))+1)

the difference from your sample is if C7=0, answer here is 2...
assume all positive numbers on C7 only
regards

--
*****
birds of the same feather flock together..



"dla" wrote:

I'm looking for a way to get this formula to continue on changing value every
10 numbers but only increasing 2 numbers in the result.

=IF(C7<=19,"4",IF(C7<=29,"6",IF(C7<=39,"8",IF(C7<= 49,"10",IF(C7<=59,"12",IF(C7<=69,"14",IF(C7<=79,"1 6",IF(C7<=89,"18",))))))))

I need an expert in writing code