Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

HOW TO MAKE " IF AND CONCATENATE FORMULA " SHORTER

$
0
0

Hi,

I have to use long formula, it is not allowed in excel. Can we make it shorter ?

=IF(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1>IF(IR5="-",((IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5)-1),IF(IR5>=1,(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5-1)-(J5),(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5)-1)),"-",IF(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1=IF(IR5="-",((IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5)-1),IF(IR5>=1,(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5-1)-(J5),(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5)-1)),IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1,IF(IF(IR5="-",((IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5)-1),IF(IR5>=1,(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5-1)-(J5),(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5)-1))=0,IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1,CONCATENATE(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1,"-",IF(IR5="-",((IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5)-1),IF(IR5>=1,(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5-1)-(J5),(IF(IR4="-",((1+J4)-1),IF(IR4>=1,(1+J4-1)-(J4),(1+J4)-1))+1+J5)-1))))))

Second one is allowed but if possible a shorter formula

=IF(IF(B4=B5,(SUM(1+J4)-1+1),1)>SUM(IF(B4=B5,(SUM(1+J4)-1+1),1)+J5)-1,"-",IF(IF(B4=B5,(SUM(1+J4)-1+1),1)=SUM(IF(B4=B5,(SUM(1+J4)-1+1),1)+J5)-1,IF(B4=B5,(SUM(1+J4)-1+1),1),CONCATENATE(IF(B4=B5,(SUM(1+J4)-1+1),1),"-",SUM(IF(B4=B5,(SUM(1+J4)-1+1),1)+J5)-1)))

regards

dockhem




Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>