Excel formula

subha120

New Member
Joined
Mar 1, 2020
Messages
16
Office Version
  1. 2016
Platform
  1. Windows
ALGO FINAL - Check.xlsm
ABCDEFG
8NATURALGAS20JULFUT#DIV/0!#DIV/0!
9NATURALGAS20AUGFUT#DIV/0!#DIV/0!
10NATURALGAS20JULFUT00
11NATURALGAS20AUGFUT#NAME?#NAME?
12NATURALGAS20JULFUT00
13NATURALGAS20AUGFUT#NAME?#NAME?
14NATURALGAS20JULFUT00
15NATURALGAS20AUGFUT#NAME?#NAME?
EXCEL SIGNAL GEN.
Cell Formulas
RangeFormula
F8F8=IF(ALGO!E24>1.8,"SE ",IF(ALGO!E24<-1.8,"LE","No signal"))
G8:G15G8=MyTableStyle[@Column1]
F9F9=IF(ALGO!E24>1.8,"SE ",IF(ALGO!E24<-1.8,"LE","No signal"))
F10,F14,F12F10=[@LTP]
F11,F15,F13F11=IF(F10="LE","SE",IF(F10="SE","LE",NA))




Please help to fill the "F" column with the formula , given at F8 & F9. Have to fill F10 & F11 with same formula as F8 & F9 but changes E24 to E25 in the formula at F10 and F11. Similarly for F12 & F13 and so on.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi subha120,

I hope I got it right. I understand that each 2nd row is the same formula (thus same result) as the previous row. Each odd row needs to change the reference to the next row starting from ALGO!E24.

Can't figure it out without a helper column, say "H" = [H8] = N(H7)+ISODD(ROW())
Then formula becomes: [F8] = IF(ISODD(ROW()),G7,IF(OFFSET(ALGO!$E$24,H8,,1)>1.8,"SE ",IF(OFFSET(ALGO!$E$24,H8,,1)<-1.8,"LE","No signal")))
 
Upvote 0
See if this, copied down does what you want.

20 07 26.xlsm
AF
8NATURALGAS20JULFUTSE
9NATURALGAS20AUGFUTSE
10NATURALGAS20JULFUTNo signal
11NATURALGAS20AUGFUTNo signal
12NATURALGAS20JULFUTNo signal
13NATURALGAS20AUGFUTNo signal
14NATURALGAS20JULFUTLE
15NATURALGAS20AUGFUTLE
EXCEL SIGNAL GEN.
Cell Formulas
RangeFormula
F8:F15F8=IF(INDEX(ALGO!E:E,23+ROUNDUP(ROWS(F$8:F8)/2,0))>1.8,"SE ",IF(INDEX(ALGO!E:E,23+ROUNDUP(ROWS(F$8:F8)/2,0))<-1.8,"LE","No signal"))
 
Upvote 0
Nice one, roundup and no volatiele construction required.
 
Upvote 0
Less calculation would be to have separate formulas in F8 & F9 then select both those cells and copy down.

20 07 26.xlsm
AF
8NATURALGAS20JULFUTSE
9NATURALGAS20AUGFUTSE
10NATURALGAS20JULFUTNo signal
11NATURALGAS20AUGFUTNo signal
12NATURALGAS20JULFUTNo signal
13NATURALGAS20AUGFUTNo signal
14NATURALGAS20JULFUTLE
15NATURALGAS20AUGFUTLE
EXCEL SIGNAL GEN.
Cell Formulas
RangeFormula
F8,F10,F12,F14F8=IF(INDEX(ALGO!E:E,24+ROWS(F$8:F8)/2)>1.8,"SE ",IF(INDEX(ALGO!E:E,24+ROWS(F$8:F8)/2)<-1.8,"LE","No signal"))
F9,F11,F13,F15F9=F8
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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
Back
Top