Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Replicating the attached excel formula in QV.

Hi Everyone,

Can anyone help me in replicating the attached excel formula in Column G in QV?

QV.png

6 Replies
anbu1984
Master III
Master III

Can you post sample excel file

Gysbert_Wassenaar

Try =RowNo()


talk is cheap, supply exceeds demand
danieloberbilli
Specialist II
Specialist II

Try something like

kavita25
Partner - Specialist
Partner - Specialist

Please post a sample excel file...and is this formula is fixed for  G9  only or whole column G ???

Regards,

Kavita

jonathandienst
Partner - Champion III
Partner - Champion III

In script, use Peek and/or Previous to fetch the row above, something like this:

If([Sold-to-Party code] = '', '',

     If([Sold-to-Party code] = Previous([Sold-to-Party code]), Peek(ATMPG) + 1, 1))

As ATMPG

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Gysbert_Wassenaar

That's assuming the fields are part of the same table. If they are then if(len(trim([Sold-to-Party code])),autonumber(ATMPG,[Sold-to-Party code]),'') would do the trick as well I reckon.


talk is cheap, supply exceeds demand